ext/wavpack/gstwavpackcommon.c: Also set the channel layout on the Wavpack caps if...
authorSebastian Dröge <slomo@circular-chaos.org>
Tue, 20 Nov 2007 13:14:40 +0000 (13:14 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Tue, 20 Nov 2007 13:14:40 +0000 (13:14 +0000)
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".

ChangeLog
ext/wavpack/gstwavpackcommon.c

index 692508f..7e15935 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 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:
        (gst_wavpack_get_default_channel_mask),
        (gst_wavpack_set_channel_layout),
index 4fa3e12..9fb97a7 100644 (file)
@@ -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;
   }