diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2016-12-01 15:12:59 +0200 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-12-05 11:02:59 +0200 |
commit | b7e0c38f12b4d8a90a8c6c16f70befee73991779 (patch) | |
tree | b1a5594e1153072080f91cdc00011b5ea900d3ba | |
parent | e53fe39c35f12e362bd754fbeaf89ea8a4badac9 (diff) | |
download | gstreamer-plugins-base-b7e0c38f12b4d8a90a8c6c16f70befee73991779.tar.gz |
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
-rw-r--r-- | ext/ogg/gstoggdemux.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index 517430ea5..03ac00f4e 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -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); |