diff options
author | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2012-09-19 09:15:53 +0530 |
---|---|---|
committer | Arun Raghavan <arun.raghavan@collabora.co.uk> | 2012-09-19 09:18:19 +0530 |
commit | 333d568ec7f0039510fcc20dba7b2eb99005f1a9 (patch) | |
tree | 3fa17a9a4056d635eb4571f83e4e946a5dea1670 | |
parent | f46475ee371af2ede1f198ba43858bf2b04188ce (diff) | |
download | gstreamer-plugins-good-333d568ec7f0039510fcc20dba7b2eb99005f1a9.tar.gz |
directsoundsink: Specify endianness in IEC 61937 payloading
DirectSound expects native endian byte order.
https://bugzilla.gnome.org/show_bug.cgi?id=678021
-rw-r--r-- | sys/directsound/gstdirectsoundsink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/directsound/gstdirectsoundsink.c b/sys/directsound/gstdirectsoundsink.c index daa72145b..9626e697c 100644 --- a/sys/directsound/gstdirectsoundsink.c +++ b/sys/directsound/gstdirectsoundsink.c @@ -807,7 +807,7 @@ gst_directsound_sink_payload (GstAudioBaseSink * sink, GstBuffer * buf) return NULL; } success = gst_audio_iec61937_payload (infobuf.data, infobuf.size, - infoout.data, infoout.size, &sink->ringbuffer->spec); + infoout.data, infoout.size, &sink->ringbuffer->spec, G_BYTE_ORDER); if (!success) { gst_buffer_unmap (out, &infoout); gst_buffer_unmap (buf, &infobuf); |