mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
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".
This commit is contained in:
parent
ded2cc6e39
commit
e35ab1c0f6
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue