Nikolay Sivov : winegstreamer: Set MF_MT_ALL_SAMPLES_INDEPENDENT for video types.

Alexandre Julliard julliard at winehq.org
Thu Apr 8 16:14:03 CDT 2021


Module: wine
Branch: master
Commit: 800103d127c2c544e91ca3a82b45d5dda5768b82
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=800103d127c2c544e91ca3a82b45d5dda5768b82

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Apr  8 12:20:29 2021 +0300

winegstreamer: Set MF_MT_ALL_SAMPLES_INDEPENDENT for video types.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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;
         }




More information about the wine-cvs mailing list