[PATCH 3/5] winegstreamer: Set lSampleSize to 1 in amt_from_gst_caps_video().

Zebediah Figura z.figura12 at gmail.com
Thu Sep 19 18:59:36 CDT 2019


Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
 dlls/winegstreamer/gstdemux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/winegstreamer/gstdemux.c b/dlls/winegstreamer/gstdemux.c
index 5294e166b55..2597a2cb4db 100644
--- a/dlls/winegstreamer/gstdemux.c
+++ b/dlls/winegstreamer/gstdemux.c
@@ -206,7 +206,7 @@ static gboolean amt_from_gst_caps_video(const GstCaps *caps, AM_MEDIA_TYPE *amt)
     amt->cbFormat = sizeof(*vih);
     amt->bFixedSizeSamples = FALSE;
     amt->bTemporalCompression = TRUE;
-    amt->lSampleSize = 0;
+    amt->lSampleSize = 1;
     amt->pUnk = NULL;
     ZeroMemory(vih, sizeof(*vih));
     amt->majortype = MEDIATYPE_Video;
-- 
2.23.0




More information about the wine-devel mailing list