[Bug 642732] [playbin2] sinks set to READY after activating groups causes bad autoplug-continue decisions
bugzilla at gnome.org
Sat Feb 19 04:19:29 PST 2011
GStreamer | gst-plugins-base | 0.10.33
--- Comment #6 from Akihiro Tsukada <tskd2 at yahoo.co.jp> 2011-02-19 12:19:25 UTC ---
(In reply to comment #5)
> A solution for this would be to set the state of the audio/video/text sinks to
> READY *before* the groups in playbin2 are activated.
my previous patch on Bug 642433:
"[PATCH 2/2] [playbin2] improved the factory selection in auto-plugging"
does this (raising the state) DURING autoplug_sort() when retreiving the sink
If this patch is applied and configure gconfaudiosink to use alsa-digital-sink,
it worked fine, but if configured to use aacspdifsink (which is a bin of
aacparse & aac2spdif & alsa), then it failed.
I also tried getting the child sink's caps of SwitchSink instead of getting
from the template (which is ANY), and failed in vain.
I'm not confident in writing the patch, especially regarding the state change
and mutual exclusions, but anyway I will try to tackle this.
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