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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Apr 30 02:46:08 PDT 2013


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

--- Comment #59 from sreerenj <bsreerenj at gmail.com> 2013-04-30 09:46:04 UTC ---
I will try to explain the problem with optimization approach with an example :)

Suppose we have a decoder decoder_A: and Sink_1, Sink_2 and Sink_3

decoder_A : Sink_1   : 2 common capsfeatures with decoder_A having rank PRIMARY
and Sink_1 having rank PRIMARY

decoder_A : Sink_2   : 2 common capsfeatures with decoder_A having rank PRIMARY
and Sink_2 having rank SECONDARY.

decoder_A : Sink_3    : 1 common capsfeatures with decoder_A having rank
PRIMARY and Sink_3 having rank PRIMARY


As per optimization logic: we will only keep first two options in the  dec-sink
list. 

Suppose in the autoplug_select callback, if the decoder_A+Sink_1 combination
fails to connect then it will search in the dec-sink list and select the
decoder_A+Sink_2 combination.  But we are supposed to select the
decoder_A+Sink_3 combination.

Am i right?

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