ext/pulse/: If downstream provides no channel layout and >2 channels should be used...
authorSebastian Dröge <slomo@circular-chaos.org>
Wed, 20 Aug 2008 17:17:55 +0000 (17:17 +0000)
committerSebastian Dröge <slomo@circular-chaos.org>
Wed, 20 Aug 2008 17:17:55 +0000 (17:17 +0000)
commit4ab89b397e32c041fd8174071a7686b8547643d0
treefa7ad90554168289ea1d570b6c40ed3a5d5fc072
parent74314914704609541ca0da9bf1f52469ea5e1079
ext/pulse/: If downstream provides no channel layout and >2 channels should be used use the default layout that pulse...

Original commit message from CVS:
* ext/pulse/pulsesrc.c: (gst_pulsesrc_class_init),
(gst_pulsesrc_create_stream), (gst_pulsesrc_negotiate),
(gst_pulsesrc_prepare):
* ext/pulse/pulseutil.c: (gst_pulse_gst_to_channel_map),
(gst_pulse_channel_map_to_gst):
* ext/pulse/pulseutil.h:
If downstream provides no channel layout and >2 channels should be
used use the default layout that pulseaudio chooses and also
add this layout to the caps. Fixes bug #547258.
ChangeLog
ext/pulse/pulsesrc.c
ext/pulse/pulseutil.c
ext/pulse/pulseutil.h