libs: use g_clear_object() wherever applicable.
authorJavier Jardón <jjardon@gnome.org>
Sat, 30 Jun 2012 20:34:15 +0000 (05:34 +0900)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 19 Jul 2012 14:24:22 +0000 (16:24 +0200)
commitab2ec5e2541834c2490a78ec839850df2b075cf5
treeb91dfa13572240004d5fd9ac09dc7ce8f47ce363
parentc416f8cf7daa137da81aaac5f23b7f10e7192b8a
libs: use g_clear_object() wherever applicable.

This is a preferred thread-safe version. Also add an inline version of
g_clear_object() if compiling with glib < 2.28.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
gst-libs/gst/vaapi/glibcompat.h
gst-libs/gst/vaapi/gstvaapicontext.c
gst-libs/gst/vaapi/gstvaapidisplay.c
gst-libs/gst/vaapi/gstvaapiobject.c
gst-libs/gst/vaapi/gstvaapisubpicture.c
gst-libs/gst/vaapi/gstvaapisurface.c
gst-libs/gst/vaapi/gstvaapisurfaceproxy.c
gst-libs/gst/vaapi/gstvaapivideobuffer.c
gst-libs/gst/vaapi/gstvaapivideoconverter_glx.c
gst-libs/gst/vaapi/gstvaapivideopool.c