mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
playbin: Don't prefer decoders for which we found a matching sink
It doesn't make much sense.
This commit is contained in:
parent
92b685eb74
commit
432b092247
1 changed files with 0 additions and 6 deletions
|
@ -3559,12 +3559,6 @@ avelement_compare (gconstpointer p1, gconstpointer p2)
|
|||
v2_rank =
|
||||
gst_plugin_feature_get_rank (fd2) * gst_plugin_feature_get_rank (fs2);
|
||||
} else {
|
||||
/* If one has a sink, prefer that one */
|
||||
if (v1->sink)
|
||||
return -1;
|
||||
else if (v2->sink)
|
||||
return 1;
|
||||
|
||||
v1_rank = gst_plugin_feature_get_rank (fd1);
|
||||
v2_rank = gst_plugin_feature_get_rank (fd2);
|
||||
fs1 = fs2 = NULL;
|
||||
|
|
Loading…
Reference in a new issue