interlace: Also handle a missing "interlace-mode" field as progressive
authorSebastian Dröge <sebastian@centricular.com>
Fri, 29 Apr 2022 16:08:46 +0000 (19:08 +0300)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Fri, 29 Apr 2022 23:08:50 +0000 (23:08 +0000)
commitbf89c80d74f424e54a401243513781c73d0a6e6d
treecfb142399072ca8ab3624caedf582c5893ba8153
parentc7db9ce70bdd581ea9ef659cfcf845d14093ad2b
interlace: Also handle a missing "interlace-mode" field as progressive

Otherwise caps negotiation will fail in situations that are supposed
to work, like:

  "video/x-raw,framerate=(fraction)60/1" ! interlace field-pattern=0 ! "video/x-raw,framerate=(fraction)30/1"

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2335>
subprojects/gst-plugins-bad/gst/interlace/gstinterlace.c