parsebin: Implement ACCEPT_CAPS handling
authorEdward Hervey <edward@centricular.com>
Fri, 21 Jan 2022 13:52:07 +0000 (14:52 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 11 Mar 2022 14:02:02 +0000 (15:02 +0100)
commit9b94798d0bd0e75bd4395d5b59308dca85b169aa
tree46d7ac923534e22ae6bd23638fdccee24e5b0cb1
parent52d9614d47f1a88f5939abf5bc273dcda777d2e8
parsebin: Implement ACCEPT_CAPS handling

The default query handler would go through typefind, which by default accepts
any CAPS. But once configured, parsebin can't reconfigure itself, it should
therefore pass through the ACCEPT_CAPS query to the first element after
typefind (if any).

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