projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92b685e
)
playbin: Don't prefer decoders for which we found a matching sink
author
Sebastian Dröge
<slomo@circular-chaos.org>
Tue, 16 Jul 2013 10:21:44 +0000
(12:21 +0200)
committer
Sebastian Dröge
<slomo@circular-chaos.org>
Tue, 16 Jul 2013 10:21:44 +0000
(12:21 +0200)
It doesn't make much sense.
gst/playback/gstplaybin2.c
patch
|
blob
|
history
diff --git
a/gst/playback/gstplaybin2.c
b/gst/playback/gstplaybin2.c
index 0fd4a731ec3c96658b594c95a78af81e72af8ab6..5f307b963177e320da5ee60775a0934223d54f86 100644
(file)
--- a/
gst/playback/gstplaybin2.c
+++ b/
gst/playback/gstplaybin2.c
@@
-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;