urisourcebin: Fix usage of raw and non-raw source provider
authorEdward Hervey <edward@centricular.com>
Mon, 17 Oct 2022 11:01:53 +0000 (13:01 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 18 Oct 2022 07:46:06 +0000 (07:46 +0000)
commit0c47735c4a4d57f3eed74176b0ebe1b198cbfe62
treea67d77d43fb6843a4cd8f099e4d5dafe44183d38
parent4df3da3bab8b8f3aa03437f1aa345cba47a7d000
urisourcebin: Fix usage of raw and non-raw source provider

The computation in analyze_source was wrong, and would state that the element
has "all raw source pads" if it had at least one.

Fixes https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/1029

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