summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-01-08 18:37:16 +0200
committerSebastian Dröge <sebastian@centricular.com>2016-01-16 11:05:13 +0100
commit9713ab06cd081c520ab14641df1e974b5bbbe50c (patch)
tree094ebcdd6940d2cc8fc8d4b922a86270c8cf2924
parent63517d0ed348784cce4ab4b295c2c0f1b78baa81 (diff)
Revert "playbin: only add the template caps when the result is empty"
This reverts commit 023af2d3b192f8ebf1bd4fe75a22a4adaedc1e05. https://bugzilla.gnome.org/show_bug.cgi?id=758212
-rw-r--r--gst/playback/gstplaybin2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c
index e3e79d396..02280611f 100644
--- a/gst/playback/gstplaybin2.c
+++ b/gst/playback/gstplaybin2.c
@@ -4989,7 +4989,7 @@ done:
* if a parser asks us but a decoder is required after it
* because no sink can handle the format directly.
*/
- if (gst_caps_is_empty (result)) {
+ {
GstPad *target = gst_ghost_pad_get_target (GST_GHOST_PAD (pad));
if (target) {