GNOME Bugzilla – Bug 709814
[examples/overlay] avoid to unref sink if not found. Also fix logic to find a sink in one of the example.
Last modified: 2013-10-11 21:31:35 UTC
Created attachment 256903 [details] [review] unref sink only when found Spotted because I have ximagesink but not xvimagesink: For gtk-videooverlay and qt-videooverlay, the sink is unref even if not found. For qtgv-videooverlay the logic to find the sink is wrong. If the first sink is not found them it do not check for the next.
Created attachment 256904 [details] [review] handle the case when xvimagesink is not found
Comment on attachment 256904 [details] [review] handle the case when xvimagesink is not found What about using autovideosink as a last fallback additionally?
Yes and maybe it should just use only autovideosink.
commit 973d1dcf39308a01f79b9bafe6bfa288523a1f0b Author: Julien Isorce <julien.isorce@collabora.co.uk> Date: Thu Oct 10 14:09:19 2013 +0100 examples/overlay: handle the case when xvimagesink is not found So that ximagesink can have a chance to be found. In qtgv-videooverlay. commit e0dfbe9dfaabe9ca5828885f8d8b16433223aa5f Author: Julien Isorce <julien.isorce@collabora.co.uk> Date: Thu Oct 10 14:01:44 2013 +0100 examples/overlay: unref sink only when found In gtk-videooverlay and qt-videooverlay examples.
Please try to add bugzilla links (or bug numbers) to commit messages, and set the target milestone to the next stable release which will contain the fix (or next dev release if only pushed to master). Thanks!