mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 06:46:38 +00:00
opus: bump written version from 0 to 0x01
as per the spec update at https://wiki.xiph.org/OggOpus#ID_Header
This commit is contained in:
parent
69b19a7d47
commit
e8b25e819a
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue