projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe83843
)
pulsesrc: Remove redundant channel-mask setting for stereo case
author
Arun Raghavan
<arun.raghavan@collabora.co.uk>
Tue, 14 Aug 2012 04:07:45 +0000
(09:37 +0530)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Wed, 22 Aug 2012 09:38:41 +0000
(11:38 +0200)
The gstaudio helper libraries already take care of this case for us.
ext/pulse/pulsesrc.c
patch
|
blob
|
history
diff --git
a/ext/pulse/pulsesrc.c
b/ext/pulse/pulsesrc.c
index d41010a027ca54981dadd78a251260e979c88f8c..5e1ee89d6413fad89919f6c580cf3b350e3319ac 100644
(file)
--- a/
ext/pulse/pulsesrc.c
+++ b/
ext/pulse/pulsesrc.c
@@
-1152,9
+1152,6
@@
gst_pulsesrc_create_stream (GstPulseSrc * pulsesrc, GstCaps ** caps)
if (spec.info.channels == 1) {
pa_channel_map_init_mono (&channel_map);
} else if (spec.info.channels == 2) {
- gst_structure_set (s, "channel-mask", GST_TYPE_BITMASK,
- GST_AUDIO_CHANNEL_POSITION_MASK (FRONT_LEFT) |
- GST_AUDIO_CHANNEL_POSITION_MASK (FRONT_RIGHT), NULL);
pa_channel_map_init_stereo (&channel_map);
} else {
need_channel_layout = TRUE;