[PATCH] winegstreamer: Set MF_MT_ALL_SAMPLES_INDEPENDENT for video types.

Nikolay Sivov nsivov at codeweavers.com
Thu Apr 8 04:20:29 CDT 2021


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---

Needed for IsCompressedFormat().

 dlls/winegstreamer/mfplat.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/winegstreamer/mfplat.c b/dlls/winegstreamer/mfplat.c
index 821657f8dd8..bb632c2cc2c 100644
--- a/dlls/winegstreamer/mfplat.c
+++ b/dlls/winegstreamer/mfplat.c
@@ -595,6 +595,7 @@ static IMFMediaType *mf_media_type_from_wg_format_video(const struct wg_format *
             IMFMediaType_SetUINT64(type, &MF_MT_FRAME_RATE,
                     make_uint64(format->u.video.fps_n, format->u.video.fps_d));
             IMFMediaType_SetUINT32(type, &MF_MT_COMPRESSED, FALSE);
+            IMFMediaType_SetUINT32(type, &MF_MT_ALL_SAMPLES_INDEPENDENT, TRUE);
 
             return type;
         }
-- 
2.30.2




More information about the wine-devel mailing list