From 9713ab06cd081c520ab14641df1e974b5bbbe50c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 8 Jan 2016 18:37:16 +0200 Subject: [PATCH] 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 --- gst/playback/gstplaybin2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c index e3e79d3967..02280611fd 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) {