winegstreamer: Set lSampleSize to 1 in amt_from_gst_caps_video().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
8d5c0a6631
commit
923a7808f4
|
@ -206,7 +206,7 @@ static gboolean amt_from_gst_caps_video(const GstCaps *caps, AM_MEDIA_TYPE *amt)
|
||||||
amt->cbFormat = sizeof(*vih);
|
amt->cbFormat = sizeof(*vih);
|
||||||
amt->bFixedSizeSamples = FALSE;
|
amt->bFixedSizeSamples = FALSE;
|
||||||
amt->bTemporalCompression = TRUE;
|
amt->bTemporalCompression = TRUE;
|
||||||
amt->lSampleSize = 0;
|
amt->lSampleSize = 1;
|
||||||
amt->pUnk = NULL;
|
amt->pUnk = NULL;
|
||||||
ZeroMemory(vih, sizeof(*vih));
|
ZeroMemory(vih, sizeof(*vih));
|
||||||
amt->majortype = MEDIATYPE_Video;
|
amt->majortype = MEDIATYPE_Video;
|
||||||
|
|
Loading…
Reference in New Issue