Commit c9821d31 authored by Arun Raghavan's avatar Arun Raghavan

osxaudiosink: Specify endianness in IEC 61937 payloading

Corresponds to an API change in gst-plugins-base. This needs to be fixed
to query the expected byte order using appropriate API.

https://bugzilla.gnome.org/show_bug.cgi?id=678021
parent 333d568e
...@@ -397,9 +397,10 @@ gst_osx_audio_sink_sink_payload (GstBaseAudioSink * sink, GstBuffer * buf) ...@@ -397,9 +397,10 @@ gst_osx_audio_sink_sink_payload (GstBaseAudioSink * sink, GstBuffer * buf)
out = gst_buffer_new_and_alloc (framesize); out = gst_buffer_new_and_alloc (framesize);
/* FIXME: the endianness needs to be queried and then set */
if (!gst_audio_iec61937_payload (GST_BUFFER_DATA (buf), if (!gst_audio_iec61937_payload (GST_BUFFER_DATA (buf),
GST_BUFFER_SIZE (buf), GST_BUFFER_DATA (out), GST_BUFFER_SIZE (buf), GST_BUFFER_DATA (out),
GST_BUFFER_SIZE (out), &sink->ringbuffer->spec)) { GST_BUFFER_SIZE (out), &sink->ringbuffer->spec, G_BYTE_ORDER)) {
gst_buffer_unref (out); gst_buffer_unref (out);
return NULL; return NULL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment