[PATCH 2/5] winegstreamer: Clear bFixedSizeSamples in amt_from_gst_caps_video().
Zebediah Figura
z.figura12 at gmail.com
Thu Sep 19 18:59:35 CDT 2019
This makes no logical sense, but the native AVI splitter never sets this field.
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
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 1b4857a2a18..5294e166b55 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));
--
2.23.0
More information about the wine-devel
mailing list