h265parse: set interlace-mode=interleaved on interlaced content
authorGuillaume Desmottes <guillaume.desmottes@collabora.com>
Mon, 5 Oct 2020 09:07:25 +0000 (11:07 +0200)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 9 Oct 2020 10:19:52 +0000 (10:19 +0000)
commit75dc98cc0887694858324cef8b99e10e5dc5ae6d
treeabef7a60955edd58f70d65088a0c982aa8e075ce
parentca4a0273dff6b8bf28744840b2c4341c8139d5d6
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: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1655>
gst/videoparsers/gsth265parse.c