mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-22 23:28:16 +00:00
player: Add g_autoptr() support
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1495>
This commit is contained in:
parent
92f9567737
commit
b542b1c257
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue