Revert "playbin: only add the template caps when the result is empty"

This reverts commit 023af2d3b1.

https://bugzilla.gnome.org/show_bug.cgi?id=758212
This commit is contained in:
Sebastian Dröge 2016-01-08 18:37:16 +02:00
parent 63517d0ed3
commit 9713ab06cd

View file

@ -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) {