interlace: Specify interlace-modes in the sink pad template
authorVivia Nikolaidou <vivia@ahiru.eu>
Mon, 8 Mar 2021 14:16:25 +0000 (16:16 +0200)
committerVivia Nikolaidou <vivia@ahiru.eu>
Mon, 8 Mar 2021 19:01:50 +0000 (21:01 +0200)
commitcb55d30b3c453fcd041f6227a4d0efcacc1f8add
tree9c79ad70cba0873740d4cb8fbba8d9ff7eeaf1a3
parent9da6da20e788a96070d9193fa431a5b4f92a1cc2
interlace: Specify interlace-modes in the sink pad template

Especially specify the field-order in the interleaved mode. Otherwise it
might cause the negotiation to fail, because
GST_PAD_SET_ACCEPT_INTERSECT is not set on the sinkpad, and the
field-order is missing in the sink template but can be present in the
outside caps.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2062>
docs/plugins/gst_plugins_cache.json
gst/interlace/gstinterlace.c