[gstreamer-bugs] [Bug 417420] New: avoid state changes for autoaudiosink

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Mar 12 04:03:53 PDT 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=417420

  GStreamer | gst-plugins-good | Ver: HEAD CVS

           Summary: avoid state changes for autoaudiosink
           Product: GStreamer
           Version: HEAD CVS
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-good
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: ensonic at sonicpulse.de
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


The patch adds a "caps" property to autoaudiosink. If this property is set,
choosing the sink will be solely based on the caps. If it's not set the
operation will be as usual: autoaudiosink will choose the sink it can set to
ready state successfully. 

This will avoid two problems:
- we don't want to switch dspsinks from null to ready and back to null again
during autodetect, since some dspsinks open the dsp node at null to ready state
change. This would result in opening dsp node twice and slowing down the
startup
- originally playbin doesn't link the autoaudiosink to decodebin2 before
setting it to paused/playing, so the actual sink needs to be chosen while
unlinked. However with compressed audio autoaudiosink still needs to get caps
information from somewhere in order to choose the specific correct sink.


-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list