[Bug 698712] playbin: autoplug video decoder and sink based on caps features

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Apr 29 10:10:44 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=698712
  GStreamer | gst-plugins-base | git

--- Comment #52 from Sebastian Dröge <slomo at circular-chaos.org> 2013-04-29 17:10:39 UTC ---
(In reply to comment #51)

> > Which one is better? Your algorithm would say A is better but I'd say that both
> > should be equivalent. I think what we should count here is (of all structures
> > that are compatible) the number of distinct caps features that are supported by
> > both. Which would be 3 in both cases of my example.
> 
> Aha, good point ! this can happen for sink also :) may be i can create a list
> for capsfeatures also. 

Yes, but no need to store that. Just create one during creation of the dec-sink
list and use it for counting.

> > @@ +3574,2 @@
> >    /* Check if we already have an audio/video sink and if this is the case
> >     * put it as the first element of the array */
> > 
> > This here btw is part of the non-auto*sink sink selection I meant
> 
> I didn't get it actually :)
> Do you mean that current gstplaybin2 won't autoplug the auto*sinks?

Yes, it's automatically plugging the highest ranked sink that supports a
stream. This is used e.g. to make sure that encoded MP3 streams are directly
passed to pulseaudio if pulseaudio can handle that.

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