的AM_MEDIA_TYPE結構看起來如下:AM_MEDIA_TYPE中的樣本量是多少?
typedef struct _MediaType {
GUID majortype;
GUID subtype;
BOOL bFixedSizeSamples;
BOOL bTemporalCompression;
ULONG lSampleSize;
GUID formattype;
IUnknown *pUnk;
ULONG cbFormat;
BYTE *pbFormat;
} AM_MEDIA_TYPE;
文件說:
lSampleSize
Size of the sample in bytes. For compressed data, the value can be zero.
什麼樣的意思?
好吧,但我必須創建一個AM_MEDIA_TYPE結構的連接引腳,以確定連接是否被接受。在這個階段不存在樣品 – Luke