[gstreamer-bugs] [Bug 627263] add property for pulsesrc to "use native format without any conversions"

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Aug 19 02:06:21 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=627263
  GStreamer | gst-plugins-good | unspecified

--- Comment #4 from Wim Taymans <wim.taymans at gmail.com> 2010-08-19 09:06:18 UTC ---
PA_STREAM_FIX_FORMAT | PA_STREAM_FIX_RATE | PA_STREAM_FIX_CHANNELS is not a
good option because these are parameters used for connecting the stream *after*
negotiation happens. 

The result of using these parameters is that the negotiated format is simply
ignored and the stream (silently) uses a different format than what the caps
say.

It's also not very trivial to figure out what format the stream will use
natively because of the various modules in pulseaudio that can restore or
redirect streams to different devices.

In general, to know the native format of a stream, you need to connect the
stream with the FIX flags and then see what format you got. 

This needs to be done before negotiation so that the format can be put first in
the caps. Then when the negotiation fixates a format, we might need to
reconnect the stream again when the format is different.

The reconnection bit is a bit ugly because pulseaudio would quickly see a
stream come and go.

-- 
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