oggdemux: Don't end up ignoring caps just because there are no headers for this stream

https://bugzilla.gnome.org/show_bug.cgi?id=775459
This commit is contained in:
Sebastian Dröge 2016-12-01 15:12:59 +02:00
parent 52d7441942
commit 732ecf0925

View file

@ -2816,7 +2816,7 @@ gst_ogg_demux_set_header_on_caps (GstOggDemux * ogg, GstCaps * caps,
if (G_UNLIKELY (!caps))
return NULL;
if (G_UNLIKELY (!headers))
return NULL;
return caps;
caps = gst_caps_make_writable (caps);
structure = gst_caps_get_structure (caps, 0);