decodebin3: Reset parsebin when new caps arrive
authorEdward Hervey <edward@centricular.com>
Fri, 21 Jan 2022 15:23:38 +0000 (16:23 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 11 Mar 2022 14:02:02 +0000 (15:02 +0100)
commit4a436b5c141bb83af234a81b413c039a2dd3dd73
tree7bc6e53d830eb2bb1381342e5ba994186e570afc
parentc658e29d09984a1f45bc54e344fb5de027fcba03
decodebin3: Reset parsebin when new caps arrive

Check if parsebin can handle the new caps, and if not reset it so that it can
reconfigure itself for the new stream format.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1900>
subprojects/gst-plugins-base/gst/playback/gstdecodebin3.c