From: Guillaume Desmottes Date: Mon, 5 Oct 2020 09:07:25 +0000 (+0200) Subject: h265parse: set interlace-mode=interleaved on interlaced content X-Git-Tag: 1.19.3~507^2~1293 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75dc98cc0887694858324cef8b99e10e5dc5ae6d;p=platform%2Fupstream%2Fgstreamer.git h265parse: set interlace-mode=interleaved on interlaced content interlace-mode=alternate is a special case of interlace-mode=interleaved where the fields are split using two different buffers. We should use the latter instead of the former to no break compat with elements supporting only 'interleaved'. Decoders producing alternate, such as OMX on the Zynq, should change the interlace-mode on their output caps. Fix https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/825 Part-of: --- diff --git a/gst/videoparsers/gsth265parse.c b/gst/videoparsers/gsth265parse.c index 9b9a899..09706a1 100644 --- a/gst/videoparsers/gsth265parse.c +++ b/gst/videoparsers/gsth265parse.c @@ -2201,8 +2201,8 @@ gst_h265_parse_update_src_caps (GstH265Parse * h265parse, GstCaps * caps) gst_caps_set_simple (caps, "profile", G_TYPE_STRING, profile, NULL); if (sps->profile_tier_level.interlaced_source_flag) - gst_caps_set_simple (caps, "interlace-mode", G_TYPE_STRING, "alternate", - NULL); + gst_caps_set_simple (caps, "interlace-mode", G_TYPE_STRING, + "interleaved", NULL); tier = get_tier_string (sps->profile_tier_level.tier_flag); if (tier != NULL)