decodebin3: Properly handle caps query with no filter
authorEdward Hervey <edward@centricular.com>
Sat, 14 Nov 2020 08:43:59 +0000 (09:43 +0100)
committerEdward Hervey <bilboed@bilboed.com>
Thu, 19 Nov 2020 10:05:03 +0000 (11:05 +0100)
commit32a4953882c834509244fa9ce4af0fa5d3fcd1fa
treee21325f8f71930d6ccf48218e8809c171c002967
parent78ccc551d6dc6dd683692e8ac87baf5dfb41dd54
decodebin3: Properly handle caps query with no filter

There's no guarantee that upstream elements will do queries with specified
filter caps. If that's the case, just return GST_CAPS_ANY

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