Commit cfca53ce authored by Niels De Graef's avatar Niels De Graef

gst: Add support for g_autoptr(GstPromise)

parent f5ccb221
......@@ -124,6 +124,10 @@ gst_promise_unref (GstPromise * promise)
gst_mini_object_unref (GST_MINI_OBJECT_CAST (promise));
}
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstPromise, gst_promise_unref)
#endif
G_END_DECLS
#endif /* __GST_PROMISE_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment