[PATCH 2/2] winegstreamer: Set MF_MT_ALL_SAMPLES_INDEPENDENT attribute on raw media types.

Zebediah Figura (she/her) zfigura at codeweavers.com
Mon Nov 30 14:32:14 CST 2020


On 11/30/20 10:45 AM, Derek Lesho wrote:
> ---
>  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)))
> 

The patch subject should probably specify "video".
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x0D9D358A07A17840.asc
Type: application/pgp-keys
Size: 1769 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20201130/2a247924/attachment.key>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20201130/2a247924/attachment.sig>


More information about the wine-devel mailing list