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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Apr 24 06:32:22 PDT 2013


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

--- Comment #11 from sreerenj <bsreerenj at gmail.com> 2013-04-24 13:32:19 UTC ---
@@ +3797,3 @@
+          GST_SOURCE_GROUP_LOCK (group);
+          gst_element_set_state (group->video_sink, GST_STATE_NULL);
+          gst_object_unref (group->video_sink);

Why do you destroy the previously selected sink here?

I think the previous explanation is enough..right? :)
If the created sink is not compatible with the factory, then unref the sink and
make sure that there is no more factory:video_sink combination in the velements
list before returning GST_AUTOPLUG_SELECT_SKIP.

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