From d4fbb2c4fb146540326dee81e1022f98b44b3921 Mon Sep 17 00:00:00 2001 From: Vadim Pisarevsky Date: Thu, 23 Jun 2011 11:57:27 +0000 Subject: [PATCH] added missing bdatypes.h --- 3rdparty/include/dshow/bdatypes.h | 32 +++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100755 3rdparty/include/dshow/bdatypes.h diff --git a/3rdparty/include/dshow/bdatypes.h b/3rdparty/include/dshow/bdatypes.h new file mode 100755 index 0000000000..d42dceb2e1 --- /dev/null +++ b/3rdparty/include/dshow/bdatypes.h @@ -0,0 +1,32 @@ +#ifndef _BDATYPES_H +#define _BDATYPES_H +#if __GNUC__ >= 3 +#pragma GCC system_header +#endif + +#ifdef __cplusplus +extern "C" { +#endif + +/*--- DirectShow Reference - DirectShow Enumerated Types */ +typedef enum { + MEDIA_TRANSPORT_PACKET, + MEDIA_ELEMENTARY_STREAM, + MEDIA_MPEG2_PSI, + MEDIA_TRANSPORT_PAYLOAD +} MEDIA_SAMPLE_CONTENT; +/*--- DirectShow Reference - DirectShow Structures */ +typedef struct { + DWORD dwOffset; + DWORD dwPacketLength; + DWORD dwStride; +} MPEG2_TRANSPORT_STRIDE; +typedef struct { + ULONG ulPID; + MEDIA_SAMPLE_CONTENT MediaSampleContent ; +} PID_MAP; + +#ifdef __cplusplus +} +#endif +#endif