decodebin3: Don't duplicate stream selections
authorEdward Hervey <edward@centricular.com>
Thu, 14 Apr 2022 13:21:48 +0000 (15:21 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Sat, 16 Apr 2022 00:56:14 +0000 (00:56 +0000)
commited5db9bce79660358749edb3b08cd820ad437fe4
tree8ed0d2fa01747c1ff43a8d377a41f5d0789324eb
parentea80952998256e0510361df2d7f38145db72295e
decodebin3: Don't duplicate stream selections

Make sure that the requested stream selection isn't identical to the current
one. If that's the case, just carry on as usual.

This avoids multiple `streams-selected` posting ... when the selection didn't
change.

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