mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-08 16:35:40 +00:00
decodebin3: Improve collection merging
If the collections are the same, don't merge them Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2784>
This commit is contained in:
parent
0bb2026890
commit
8ce0a23a5e
1 changed files with 3 additions and 1 deletions
|
@ -1624,7 +1624,9 @@ get_merged_collection (GstDecodebin3 * dbin)
|
|||
|
||||
for (tmp = dbin->other_inputs; tmp; tmp = tmp->next) {
|
||||
DecodebinInput *input = (DecodebinInput *) tmp->data;
|
||||
if (input->collection) {
|
||||
GST_LOG_OBJECT (dbin, "Comparing res %p input->collection %p", res,
|
||||
input->collection);
|
||||
if (input->collection && input->collection != res) {
|
||||
if (res) {
|
||||
needs_merge = TRUE;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue