[Bug 667543] [0.11] [pulsesink] Fails in query_acceptcaps() if no channel-mask is provided
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Oct 2 15:09:32 PDT 2012
https://bugzilla.gnome.org/show_bug.cgi?id=667543
GStreamer | gst-plugins-good | 0.11.x
--- Comment #3 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2012-10-02 22:09:27 UTC ---
Is this outdated?
I'm not sure I understand what the issue is here.
gst_audio_ring_buffer_parse_caps() does this:
if (g_str_equal (mimetype, "audio/x-raw")) {
if (!gst_audio_info_from_caps (&info, caps))
goto parse_error;
...
}
and gst_audio_info_from_caps() does this:
if (!gst_structure_get (str, "channel-mask", GST_TYPE_BITMASK, &channel_mask,
NULL)) {
if (channels == 1) {
position[0] = GST_AUDIO_CHANNEL_POSITION_MONO;
} else if (channels == 2) {
position[0] = GST_AUDIO_CHANNEL_POSITION_FRONT_LEFT;
position[1] = GST_AUDIO_CHANNEL_POSITION_FRONT_RIGHT;
} else {
goto no_channel_mask;
}
}
So what's going wrong where?
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list