player: Add g_autoptr() support

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1495>
This commit is contained in:
Guillaume Desmottes 2020-08-05 12:31:53 +02:00
parent 92f9567737
commit b542b1c257

View file

@ -104,6 +104,9 @@ const gchar *gst_player_color_balance_type_get_name (GstPlayerColorBalanceType
#define GST_PLAYER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GST_TYPE_PLAYER, GstPlayerClass))
#define GST_PLAYER_CAST(obj) ((GstPlayer*)(obj))
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstPlayer, gst_object_unref)
#endif
GST_PLAYER_API
GType gst_player_get_type (void);