summaryrefslogtreecommitdiff
path: root/ext/opus
diff options
context:
space:
mode:
authorVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2011-11-24 13:38:59 +0000
committerVincent Penquerc'h <vincent.penquerch@collabora.co.uk>2011-11-24 13:40:34 +0000
commit78337fc198429e704ac7c4e9582ef26c4fcfa066 (patch)
treeff0e4e0fc3da8550281178dfceb433ae4c912e06 /ext/opus
parent0ca385a97030d96044cbcd9ccb269bc4e470423c (diff)
downloadgstreamer-plugins-bad-78337fc198429e704ac7c4e9582ef26c4fcfa066.tar.gz
opus: pre-skip and output gain are little endian, remove reminder note
Diffstat (limited to 'ext/opus')
-rw-r--r--ext/opus/gstopusheader.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/opus/gstopusheader.c b/ext/opus/gstopusheader.c
index 0379c909f..1aa3b0d01 100644
--- a/ext/opus/gstopusheader.c
+++ b/ext/opus/gstopusheader.c
@@ -39,9 +39,9 @@ gst_opus_enc_create_id_buffer (gint nchannels, gint sample_rate,
gst_byte_writer_put_data (&bw, (const guint8 *) "OpusHead", 8);
gst_byte_writer_put_uint8 (&bw, 0); /* version number */
gst_byte_writer_put_uint8 (&bw, nchannels);
- gst_byte_writer_put_uint16_le (&bw, 0); /* pre-skip *//* TODO: endianness ? */
+ gst_byte_writer_put_uint16_le (&bw, 0); /* pre-skip */
gst_byte_writer_put_uint32_le (&bw, sample_rate);
- gst_byte_writer_put_uint16_le (&bw, 0); /* output gain *//* TODO: endianness ? */
+ gst_byte_writer_put_uint16_le (&bw, 0); /* output gain */
gst_byte_writer_put_uint8 (&bw, channel_mapping_family);
if (channel_mapping_family > 0) {
gst_byte_writer_put_uint8 (&bw, (nchannels + 1) / 2);