pulsesink: Specify endianness in IEC 61937 payloading

Corresponds to an API change in gst-plugins-base.

https://bugzilla.gnome.org/show_bug.cgi?id=678021
This commit is contained in:
Arun Raghavan 2012-09-19 09:13:11 +05:30
parent 480b894642
commit f46475ee37

View file

@ -1753,7 +1753,7 @@ gst_pulsesink_payload (GstAudioBaseSink * sink, GstBuffer * buf)
gst_buffer_map (out, &outmap, GST_MAP_WRITE);
res = gst_audio_iec61937_payload (inmap.data, inmap.size,
outmap.data, outmap.size, &sink->ringbuffer->spec);
outmap.data, outmap.size, &sink->ringbuffer->spec, G_BIG_ENDIAN);
gst_buffer_unmap (buf, &inmap);
gst_buffer_unmap (out, &outmap);