summaryrefslogtreecommitdiff
path: root/ext/opus
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2012-05-24 21:58:44 +0100
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2012-05-24 22:57:25 +0100
commite8b25e819ad25d8e2b89e8484ce22d34fe08b435 (patch)
tree556e499b7c4b24ecb0937a670d2c3b9aae5a71f8 /ext/opus
parent69b19a7d47d8affcb61ae0d59f84ea039343d71f (diff)
opus: bump written version from 0 to 0x01
as per the spec update at https://wiki.xiph.org/OggOpus#ID_Header
Diffstat (limited to 'ext/opus')
-rw-r--r--ext/opus/gstopusheader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opus/gstopusheader.c b/ext/opus/gstopusheader.c
index 8dc5d2719..36cb4ec93 100644
--- a/ext/opus/gstopusheader.c
+++ b/ext/opus/gstopusheader.c
@@ -43,7 +43,7 @@ gst_opus_enc_create_id_buffer (gint nchannels, gint n_stereo_streams,
/* See http://wiki.xiph.org/OggOpus */
hdl &= gst_byte_writer_put_data (&bw, (const guint8 *) "OpusHead", 8);
- hdl &= gst_byte_writer_put_uint8 (&bw, 0); /* version number */
+ hdl &= gst_byte_writer_put_uint8 (&bw, 0x01); /* version number */
hdl &= gst_byte_writer_put_uint8 (&bw, nchannels);
hdl &= gst_byte_writer_put_uint16_le (&bw, 0); /* pre-skip */
hdl &= gst_byte_writer_put_uint32_le (&bw, sample_rate);