diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-01-08 18:37:16 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-01-16 11:05:13 +0100 |
commit | 9713ab06cd081c520ab14641df1e974b5bbbe50c (patch) | |
tree | 094ebcdd6940d2cc8fc8d4b922a86270c8cf2924 | |
parent | 63517d0ed348784cce4ab4b295c2c0f1b78baa81 (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.c | 2 |
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) { |