[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-devel
Subject:    [PATCH v3 2/2] winegstreamer: Set MF_MT_ALL_SAMPLES_INDEPENDENT attribute on raw video media types.
From:       Derek Lesho <dlesho () codeweavers ! com>
Date:       2020-11-30 20:35:08
Message-ID: 20201130203508.49599-1-dlesho () codeweavers ! com
[Download RAW message or body]

Signed-off-by: Derek Lesho <dlesho@codeweavers.com>
---
v3: Reword commit name.
---
 dlls/winegstreamer/mfplat.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dlls/winegstreamer/mfplat.c b/dlls/winegstreamer/mfplat.c
index 07dfae64f4f..50cd93b62d1 100644
--- a/dlls/winegstreamer/mfplat.c
+++ b/dlls/winegstreamer/mfplat.c
@@ -610,6 +610,7 @@ IMFMediaType *mf_media_type_from_caps(const GstCaps *caps)
             unsigned int i;
 
             IMFMediaType_SetUINT32(media_type, &MF_MT_COMPRESSED, FALSE);
+            IMFMediaType_SetUINT32(media_type, &MF_MT_ALL_SAMPLES_INDEPENDENT, TRUE);
 
             /* First try FOURCC */
             if ((fourcc_subtype.Data1 = gst_video_format_to_fourcc(video_info.finfo->format)))
-- 
2.29.2


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic