winegstreamer: Clear bFixedSizeSamples in amt_from_gst_caps_video().

This makes no logical sense, but the native AVI splitter never sets this field.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2019-09-19 18:59:35 -05:00 committed by Alexandre Julliard
parent 28c334b273
commit 8d5c0a6631
1 changed files with 2 additions and 1 deletions

View File

@ -204,7 +204,8 @@ static gboolean amt_from_gst_caps_video(const GstCaps *caps, AM_MEDIA_TYPE *amt)
amt->formattype = FORMAT_VideoInfo;
amt->pbFormat = (BYTE*)vih;
amt->cbFormat = sizeof(*vih);
amt->bFixedSizeSamples = amt->bTemporalCompression = 1;
amt->bFixedSizeSamples = FALSE;
amt->bTemporalCompression = TRUE;
amt->lSampleSize = 0;
amt->pUnk = NULL;
ZeroMemory(vih, sizeof(*vih));