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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon May 6 08:19:29 PDT 2013


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

--- Comment #74 from sreerenj <bsreerenj at gmail.com> 2013-05-06 15:19:26 UTC ---
(In reply to comment #73)
> Hmm, what about only sorting the GSequence by the decoder factory (and nothing
> else).
> 
> 1) Creation is trivial and we get the insertion advantage there
> 2) Not so trivial, we would create a list of possible decoders in
> autoplug_select 

autoplug_select ?? or autoplug_factories 

and only sort this small list by our metrics (number of common
> caps features, etc). Gives us the lookup advantage plus a small extra cost for
> sorting a list with less than 10 elements (which is basically for free)
> 3) We would use lookup there and then take the first iterator to the used
> decoder factory, and continue iterating from there on until the decoder factory
> changes. Gives us the lookup advantage and no extra costs
> 
> What do you think? Am I missing something?

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