GNOME Bugzilla – Bug 611702
playbin2: Warning: g_object_set: assertion `G_IS_OBJECT (object)' failed with custom text sink
Last modified: 2010-03-15 13:27:57 UTC
Created attachment 155134 [details] [review] patch to fix the issue When a custom text-sink is set to playbin2 I'm getting that warning. The attached patch fixes the issue.
commit 25fc69e6aa230fd8e4a0c27277bb84cf332ab0ca Author: Josep Torra Valles <n770galaxy@gmail.com> Date: Wed Mar 3 20:15:44 2010 +0000 playsink: avoid g_object_set() on NULL pointers There may not be an overlay element if a text-sink is set. Fixes #611702. Keeping bug open, since even though this is obviously correct I'm not 100% sure yet if it's right, and if there aren't other places where this is needed as well.
The patch is correct and there was another place where this check was missing. commit bd2277d214d2e0498c0fa52678892f07a61d32fc Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Mon Mar 15 14:26:28 2010 +0100 playsink: Avoid g_object_set() on NULL if a text sink is used Fixes bug #611702.