GNOME Bugzilla – Bug 693302
decodebin: g_mutex_new is deprecated
Last modified: 2013-02-07 13:53:43 UTC
replace g_mutex_new with g_mutex_init and g_mutex_free with g_mutex_clear in gsturidecobin.c and gstdecodebin2.c
Don't suppose you had a patch for that already and just forgot to attach it?
ok somehow it did not upload sec
Created attachment 235389 [details] [review] forgotten patch
I noticed that if I attach the patch while creating the bug, it never uploads :-( I have to add the patches in a second step. I'll remember it.
It would be nice if you could actually test the patch as well, because this one is completely broken and will crash pretty much immediately. The mutexes also need to be changed to be embedded in the structure instead of just calling the new API on NULL pointers... commit f704b3f9757d22fe2cd17d59cdefdfa2e5f06a84 Author: Marc Leeman <marc.leeman@gmail.com> Date: Thu Feb 7 10:49:33 2013 +0100 decodebin: g_mutex_new -> g_mutex_init Don't use deprecated GLib API. https://bugzilla.gnome.org/show_bug.cgi?id=693302