summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2016-12-01 15:12:59 +0200
committerSebastian Dröge <sebastian@centricular.com>2016-12-01 15:12:59 +0200
commit732ecf092510abc1712a9282a0a705a21a8d86ad (patch)
tree17b7ccb2f2f5efdeee61c5a005883abe9c6bcc6c
parent52d74419420e95c68e9384b39a25420d5f880a73 (diff)
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.c2
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);