Zebediah Figura : winegstreamer: Clear bFixedSizeSamples in amt_from_gst_caps_video().
Alexandre Julliard
julliard at winehq.org
Fri Sep 20 15:54:42 CDT 2019
Module: wine
Branch: master
Commit: 8d5c0a6631d0cd3c4afe9aacdbc492ebc3f04155
URL: https://source.winehq.org/git/wine.git/?a=commit;h=8d5c0a6631d0cd3c4afe9aacdbc492ebc3f04155
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Thu Sep 19 18:59:35 2019 -0500
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 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/winegstreamer/gstdemux.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index 1b4857a2a1..5294e166b5 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -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));
More information about the wine-cvs
mailing list