summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-11-03 11:49:54 +0200
committerSebastian Dröge <sebastian@centricular.com>2015-11-03 20:35:27 +0200
commitb34574d8293db41cc1efe43154b1805ff39099a3 (patch)
treebea1c386ee9384500492a912eec7c58423703e6f /gst
parent7b17615da8844080d66c82bd7cc2090681d31aac (diff)
matroskamux: Opus headers are not in-band
https://bugzilla.gnome.org/show_bug.cgi?id=727305
Diffstat (limited to 'gst')
-rw-r--r--gst/matroska/matroska-mux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/matroska/matroska-mux.c b/gst/matroska/matroska-mux.c
index b5a229122..babf2c948 100644
--- a/gst/matroska/matroska-mux.c
+++ b/gst/matroska/matroska-mux.c
@@ -1621,7 +1621,8 @@ opus_streamheader_to_codecdata (const GValue * streamheader,
if (bufarr->len != 1 && bufarr->len != 2)
goto wrong_count;
- context->xiph_headers_to_skip = bufarr->len;
+ /* Opus headers are not in-band */
+ context->xiph_headers_to_skip = 0;
bufval = &g_array_index (bufarr, GValue, 0);
if (G_VALUE_TYPE (bufval) != GST_TYPE_BUFFER) {