Commit e35ab1c0 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵
Browse files

ext/wavpack/gstwavpackcommon.c: Also set the channel layout on the Wavpack...

ext/wavpack/gstwavpackcommon.c: Also set the channel layout on the Wavpack caps if we're having a mono layout. Of cou...

Original commit message from CVS:
* ext/wavpack/gstwavpackcommon.c: (gst_wavpack_set_channel_layout):
Also set the channel layout on the Wavpack caps if we're having
a mono layout. Of course only do it for "audio/x-wavpack".
parent ded2cc6e
2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
* ext/wavpack/gstwavpackcommon.c: (gst_wavpack_set_channel_layout):
Also set the channel layout on the Wavpack caps if we're having
a mono layout. Of course only do it for "audio/x-wavpack".
2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
 
* ext/wavpack/gstwavpackcommon.c:
......
......@@ -185,6 +185,7 @@ gst_wavpack_set_channel_layout (GstCaps * caps, gint layout)
if (num_channels == 1 && layout == 0x00004) {
pos[0] = GST_AUDIO_CHANNEL_POSITION_FRONT_MONO;
gst_audio_set_channel_positions (s, pos);
return TRUE;
}
......
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