https://bugzilla.gnome.org/show_bug.cgi?id=754464
65 files changed:
gsize offset, gsize size, gpointer user_data,
GDestroyNotify notify);
gsize offset, gsize size, gpointer user_data,
GDestroyNotify notify);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstAllocationParams, gst_allocation_params_free)
+#endif
+
G_END_DECLS
#endif /* __GST_ALLOCATOR_H__ */
G_END_DECLS
#endif /* __GST_ALLOCATOR_H__ */
guint gst_atomic_queue_length (GstAtomicQueue * queue);
guint gst_atomic_queue_length (GstAtomicQueue * queue);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstAtomicQueue, gst_atomic_queue_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_ATOMIC_QUEUE_H__ */
G_END_DECLS
#endif /* __GST_ATOMIC_QUEUE_H__ */
gboolean gst_bin_recalculate_latency (GstBin * bin);
gboolean gst_bin_recalculate_latency (GstBin * bin);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstBin, gst_object_unref)
+#endif
+
GstParentBufferMeta *gst_buffer_add_parent_buffer_meta (GstBuffer *buffer,
GstBuffer *ref);
GstParentBufferMeta *gst_buffer_add_parent_buffer_meta (GstBuffer *buffer,
GstBuffer *ref);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstBuffer, gst_buffer_unref)
+#endif
+
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstBufferPool, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_BUFFER_H__ */
G_END_DECLS
#endif /* __GST_BUFFER_H__ */
#define gst_buffer_list_add(l,b) gst_buffer_list_insert((l),-1,(b));
#define gst_buffer_list_add(l,b) gst_buffer_list_insert((l),-1,(b));
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstBufferList, gst_buffer_list_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_BUFFER_LIST_H__ */
G_END_DECLS
#endif /* __GST_BUFFER_LIST_H__ */
void gst_bus_enable_sync_message_emission (GstBus * bus);
void gst_bus_disable_sync_message_emission (GstBus * bus);
void gst_bus_enable_sync_message_emission (GstBus * bus);
void gst_bus_disable_sync_message_emission (GstBus * bus);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstBus, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_BUS_H__ */
G_END_DECLS
#endif /* __GST_BUS_H__ */
gchar * gst_caps_to_string (const GstCaps *caps) G_GNUC_MALLOC;
GstCaps * gst_caps_from_string (const gchar *string) G_GNUC_WARN_UNUSED_RESULT;
gchar * gst_caps_to_string (const GstCaps *caps) G_GNUC_MALLOC;
GstCaps * gst_caps_from_string (const gchar *string) G_GNUC_WARN_UNUSED_RESULT;
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstCaps, gst_caps_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_CAPS_H__ */
G_END_DECLS
#endif /* __GST_CAPS_H__ */
void gst_caps_features_remove (GstCapsFeatures * features, const gchar * feature);
void gst_caps_features_remove_id (GstCapsFeatures * features, GQuark feature);
void gst_caps_features_remove (GstCapsFeatures * features, const gchar * feature);
void gst_caps_features_remove_id (GstCapsFeatures * features, GQuark feature);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstCapsFeatures, gst_caps_features_free)
+#endif
+
G_END_DECLS
#endif /* __GST_CAPS_FEATURES_H__ */
G_END_DECLS
#endif /* __GST_CAPS_FEATURES_H__ */
GstClockTime start_time,
GstClockTime interval);
GstClockTime start_time,
GstClockTime interval);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstClock, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_CLOCK_H__ */
G_END_DECLS
#endif /* __GST_CLOCK_H__ */
gboolean gst_context_is_persistent (const GstContext * context);
gboolean gst_context_is_persistent (const GstContext * context);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstContext, gst_context_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_CONTEXT_H__ */
G_END_DECLS
#endif /* __GST_CONTEXT_H__ */
void gst_control_binding_set_disabled (GstControlBinding * binding, gboolean disabled);
gboolean gst_control_binding_is_disabled (GstControlBinding * binding);
void gst_control_binding_set_disabled (GstControlBinding * binding, gboolean disabled);
gboolean gst_control_binding_is_disabled (GstControlBinding * binding);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstControlBinding, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_CONTROL_BINDING_H__ */
G_END_DECLS
#endif /* __GST_CONTROL_BINDING_H__ */
gboolean gst_control_source_get_value_array (GstControlSource *self, GstClockTime timestamp,
GstClockTime interval, guint n_values,
gdouble *values);
gboolean gst_control_source_get_value_array (GstControlSource *self, GstClockTime timestamp,
GstClockTime interval, guint n_values,
gdouble *values);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstControlSource, gst_object_unref)
+#endif
+
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstValueArray, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_CONTROL_SOURCE_H__ */
G_END_DECLS
#endif /* __GST_CONTROL_SOURCE_H__ */
void gst_date_time_unref (GstDateTime * datetime);
void gst_date_time_unref (GstDateTime * datetime);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstDateTime, gst_date_time_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_DATE_TIME_H__ */
G_END_DECLS
#endif /* __GST_DATE_TIME_H__ */
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstDevice, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_DEVICE_H__ */
G_END_DECLS
#endif /* __GST_DEVICE_H__ */
void gst_device_monitor_set_show_all_devices (GstDeviceMonitor * monitor, gboolean show_all);
gboolean gst_device_monitor_get_show_all_devices (GstDeviceMonitor * monitor);
void gst_device_monitor_set_show_all_devices (GstDeviceMonitor * monitor, gboolean show_all);
gboolean gst_device_monitor_get_show_all_devices (GstDeviceMonitor * monitor);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstDeviceMonitor, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_DEVICE_MONITOR_H__ */
G_END_DECLS
#endif /* __GST_DEVICE_MONITOR_H__ */
/* factory management */
GstDeviceProviderFactory * gst_device_provider_get_factory (GstDeviceProvider * provider);
/* factory management */
GstDeviceProviderFactory * gst_device_provider_get_factory (GstDeviceProvider * provider);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstDeviceProvider, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_DEVICE_PROVIDER_H__ */
G_END_DECLS
#endif /* __GST_DEVICE_PROVIDER_H__ */
GList * gst_device_provider_factory_list_get_device_providers (
GstRank minrank) G_GNUC_MALLOC;
GList * gst_device_provider_factory_list_get_device_providers (
GstRank minrank) G_GNUC_MALLOC;
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstDeviceProviderFactory, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_DEVICE_PROVIDER_FACTORY_H__ */
G_END_DECLS
#endif /* __GST_DEVICE_PROVIDER_FACTORY_H__ */
/* factory management */
GstElementFactory* gst_element_get_factory (GstElement *element);
/* factory management */
GstElementFactory* gst_element_get_factory (GstElement *element);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstElement, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_ELEMENT_H__ */
G_END_DECLS
#endif /* __GST_ELEMENT_H__ */
GList * gst_element_factory_list_filter (GList *list, const GstCaps *caps,
GstPadDirection direction,
gboolean subsetonly) G_GNUC_MALLOC;
GList * gst_element_factory_list_filter (GList *list, const GstCaps *caps,
GstPadDirection direction,
gboolean subsetonly) G_GNUC_MALLOC;
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstElementFactory, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_ELEMENT_FACTORY_H__ */
G_END_DECLS
#endif /* __GST_ELEMENT_FACTORY_H__ */
GstEvent* gst_event_new_segment_done (GstFormat format, gint64 position) G_GNUC_MALLOC;
void gst_event_parse_segment_done (GstEvent *event, GstFormat *format, gint64 *position);
GstEvent* gst_event_new_segment_done (GstFormat format, gint64 position) G_GNUC_MALLOC;
void gst_event_parse_segment_done (GstEvent *event, GstFormat *format, gint64 *position);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstEvent, gst_event_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_EVENT_H__ */
G_END_DECLS
#endif /* __GST_EVENT_H__ */
gboolean gst_ghost_pad_internal_activate_mode_default (GstPad * pad, GstObject * parent,
GstPadMode mode, gboolean active);
gboolean gst_ghost_pad_internal_activate_mode_default (GstPad * pad, GstObject * parent,
GstPadMode mode, gboolean active);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstGhostPad, gst_object_unref)
+#endif
+
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstProxyPad, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_GHOST_PAD_H__ */
G_END_DECLS
#endif /* __GST_GHOST_PAD_H__ */
gboolean gst_iterator_find_custom (GstIterator *it, GCompareFunc func,
GValue *elem, gpointer user_data);
gboolean gst_iterator_find_custom (GstIterator *it, GCompareFunc func,
GValue *elem, gpointer user_data);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstIterator, gst_iterator_free)
+#endif
+
G_END_DECLS
#endif /* __GST_ITERATOR_H__ */
G_END_DECLS
#endif /* __GST_ITERATOR_H__ */
/* span memory */
gboolean gst_memory_is_span (GstMemory *mem1, GstMemory *mem2, gsize *offset);
/* span memory */
gboolean gst_memory_is_span (GstMemory *mem1, GstMemory *mem2, gsize *offset);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstMemory, gst_memory_unref)
+#endif
+
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstAllocator, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_MEMORY_H__ */
G_END_DECLS
#endif /* __GST_MEMORY_H__ */
void gst_message_parse_device_removed (GstMessage * message, GstDevice ** device);
void gst_message_parse_device_removed (GstMessage * message, GstDevice ** device);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstMessage, gst_message_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_MESSAGE_H__ */
G_END_DECLS
#endif /* __GST_MESSAGE_H__ */
GstClockTime gst_object_get_control_rate (GstObject * object);
void gst_object_set_control_rate (GstObject * object, GstClockTime control_rate);
GstClockTime gst_object_get_control_rate (GstObject * object);
void gst_object_set_control_rate (GstObject * object, GstClockTime control_rate);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstObject, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_OBJECT_H__ */
G_END_DECLS
#endif /* __GST_OBJECT_H__ */
gboolean gst_pad_forward (GstPad *pad, GstPadForwardFunction forward,
gpointer user_data);
gboolean gst_pad_forward (GstPad *pad, GstPadForwardFunction forward,
gpointer user_data);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstPad, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_PAD_H__ */
G_END_DECLS
#endif /* __GST_PAD_H__ */
void gst_pad_template_pad_created (GstPadTemplate * templ, GstPad * pad);
void gst_pad_template_pad_created (GstPadTemplate * templ, GstPad * pad);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstPadTemplate, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_PAD_TEMPLATE_H__ */
G_END_DECLS
#endif /* __GST_PAD_TEMPLATE_H__ */
GstParseFlags flags,
GError ** error) G_GNUC_MALLOC;
GstParseFlags flags,
GError ** error) G_GNUC_MALLOC;
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstParseContext, gst_parse_context_free)
+#endif
+
G_END_DECLS
#endif /* __GST_PARSE_H__ */
G_END_DECLS
#endif /* __GST_PARSE_H__ */
void gst_pipeline_set_auto_flush_bus (GstPipeline *pipeline, gboolean auto_flush);
gboolean gst_pipeline_get_auto_flush_bus (GstPipeline *pipeline);
void gst_pipeline_set_auto_flush_bus (GstPipeline *pipeline, gboolean auto_flush);
gboolean gst_pipeline_get_auto_flush_bus (GstPipeline *pipeline);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstPipeline, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_PIPELINE_H__ */
G_END_DECLS
#endif /* __GST_PIPELINE_H__ */
void gst_plugin_list_free (GList *list);
void gst_plugin_list_free (GList *list);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstPlugin, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_PLUGIN_H__ */
G_END_DECLS
#endif /* __GST_PLUGIN_H__ */
gint gst_plugin_feature_rank_compare_func (gconstpointer p1,
gconstpointer p2);
gint gst_plugin_feature_rank_compare_func (gconstpointer p1,
gconstpointer p2);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstPluginFeature, gst_object_unref)
+#endif
+
void gst_query_set_context (GstQuery *query, GstContext *context);
void gst_query_parse_context (GstQuery *query, GstContext **context);
void gst_query_set_context (GstQuery *query, GstContext *context);
void gst_query_parse_context (GstQuery *query, GstContext **context);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstQuery, gst_query_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_QUERY_H__ */
G_END_DECLS
#endif /* __GST_QUERY_H__ */
guint min_minor,
guint min_micro);
guint min_minor,
guint min_micro);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstRegistry, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_REGISTRY_H__ */
G_END_DECLS
#endif /* __GST_REGISTRY_H__ */
*/
#define gst_value_get_sample(v) GST_SAMPLE_CAST (g_value_get_boxed(v))
*/
#define gst_value_get_sample(v) GST_SAMPLE_CAST (g_value_get_boxed(v))
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstSample, gst_sample_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_SAMPLE_H__ */
G_END_DECLS
#endif /* __GST_SAMPLE_H__ */
GstSeekType stop_type, guint64 stop, gboolean * update);
gboolean gst_segment_is_equal (const GstSegment * s0, const GstSegment * s1);
GstSeekType stop_type, guint64 stop, gboolean * update);
gboolean gst_segment_is_equal (const GstSegment * s0, const GstSegment * s1);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstSegment, gst_segment_free)
+#endif
+
G_END_DECLS
#endif /* __GST_SEGMENT_H__ */
G_END_DECLS
#endif /* __GST_SEGMENT_H__ */
GstStructure * gst_structure_intersect (const GstStructure * struct1,
const GstStructure * struct2) G_GNUC_MALLOC;
GstStructure * gst_structure_intersect (const GstStructure * struct1,
const GstStructure * struct2) G_GNUC_MALLOC;
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstStructure, gst_structure_free)
+#endif
+
GstClock* gst_system_clock_obtain (void);
void gst_system_clock_set_default (GstClock *new_clock);
GstClock* gst_system_clock_obtain (void);
void gst_system_clock_set_default (GstClock *new_clock);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstSystemClock, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_SYSTEM_CLOCK_H__ */
G_END_DECLS
#endif /* __GST_SYSTEM_CLOCK_H__ */
*/
#define GST_TAG_PRIVATE_DATA "private-data"
*/
#define GST_TAG_PRIVATE_DATA "private-data"
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstTagList, gst_tag_list_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_TAGLIST_H__ */
G_END_DECLS
#endif /* __GST_TAGLIST_H__ */
gboolean gst_task_join (GstTask *task);
gboolean gst_task_join (GstTask *task);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstTask, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_TASK_H__ */
G_END_DECLS
#endif /* __GST_TASK_H__ */
void gst_task_pool_cleanup (GstTaskPool *pool);
void gst_task_pool_cleanup (GstTaskPool *pool);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstTaskPool, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_TASK_POOL_H__ */
G_END_DECLS
#endif /* __GST_TASK_POOL_H__ */
const gchar * gst_toc_entry_type_get_nick (GstTocEntryType type);
const gchar * gst_toc_entry_type_get_nick (GstTocEntryType type);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+static inline void
+_gst_autoptr_toc_unref (GstToc *toc)
+{
+ gst_toc_unref (toc);
+}
+
+static inline void
+_gst_autoptr_toc_entry_unref (GstTocEntry *entry)
+{
+ gst_toc_entry_unref (entry);
+}
+
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstToc, _gst_autoptr_toc_unref)
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstTocEntry, _gst_autoptr_toc_entry_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_TOC_H__ */
G_END_DECLS
#endif /* __GST_TOC_H__ */
/* tracing module helpers */
void gst_tracer_log_trace (GstStructure * s);
/* tracing module helpers */
void gst_tracer_log_trace (GstStructure * s);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstTracer, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_TRACER_H__ */
G_END_DECLS
#endif /* __GST_TRACER_H__ */
GList * gst_tracer_factory_get_list (void);
GList * gst_tracer_factory_get_list (void);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstTracerFactory, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_TRACER_FACTORY_H__ */
G_END_DECLS
#endif /* __GST_TRACER_FACTORY_H__ */
void gst_type_find_factory_call_function (GstTypeFindFactory *factory,
GstTypeFind *find);
void gst_type_find_factory_call_function (GstTypeFindFactory *factory,
GstTypeFind *find);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstTypeFindFactory, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_TYPE_FIND_FACTORY_H__ */
G_END_DECLS
#endif /* __GST_TYPE_FIND_FACTORY_H__ */
gst_mini_object_unref (GST_MINI_OBJECT_CAST (uri));
}
gst_mini_object_unref (GST_MINI_OBJECT_CAST (uri));
}
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstUri, gst_uri_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_URI_H__ */
G_END_DECLS
#endif /* __GST_URI_H__ */
gssize gst_adapter_masked_scan_uint32_peek (GstAdapter * adapter, guint32 mask,
guint32 pattern, gsize offset, gsize size, guint32 * value);
gssize gst_adapter_masked_scan_uint32_peek (GstAdapter * adapter, guint32 mask,
guint32 pattern, gsize offset, gsize size, guint32 * value);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstAdapter, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_ADAPTER_H__ */
G_END_DECLS
#endif /* __GST_ADAPTER_H__ */
GstTagList * tags,
GstTagMergeMode mode);
GstTagList * tags,
GstTagMergeMode mode);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstBaseParseFrame, gst_base_parse_frame_free)
+#endif
+
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstBaseParse, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_BASE_PARSE_H__ */
G_END_DECLS
#endif /* __GST_BASE_PARSE_H__ */
GstFlowReturn gst_base_sink_wait (GstBaseSink *sink, GstClockTime time,
GstClockTimeDiff *jitter);
GstFlowReturn gst_base_sink_wait (GstBaseSink *sink, GstClockTime time,
GstClockTimeDiff *jitter);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstBaseSink, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_BASE_SINK_H__ */
G_END_DECLS
#endif /* __GST_BASE_SINK_H__ */
GstAllocationParams *params);
GstAllocationParams *params);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstBaseSrc, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_BASE_SRC_H__ */
G_END_DECLS
#endif /* __GST_BASE_SRC_H__ */
void gst_base_transform_reconfigure_src (GstBaseTransform *trans);
gboolean gst_base_transform_update_src_caps (GstBaseTransform *trans,
GstCaps *updated_caps);
void gst_base_transform_reconfigure_src (GstBaseTransform *trans);
gboolean gst_base_transform_update_src_caps (GstBaseTransform *trans,
GstCaps *updated_caps);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstBaseTransform, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_BASE_TRANSFORM_H__ */
G_END_DECLS
#endif /* __GST_BASE_TRANSFORM_H__ */
GstQuery * query, gboolean discard);
GstQuery * query, gboolean discard);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstCollectPads, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_COLLECT_PADS_H__ */
G_END_DECLS
#endif /* __GST_COLLECT_PADS_H__ */
void gst_data_queue_limits_changed (GstDataQueue * queue);
void gst_data_queue_limits_changed (GstDataQueue * queue);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstDataQueue, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_DATA_QUEUE_H__ */
G_END_DECLS
#endif /* __GST_DATA_QUEUE_H__ */
GType gst_flow_combiner_get_type (void);
GType gst_flow_combiner_get_type (void);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstFlowCombiner, gst_flow_combiner_free)
+#endif
+
G_END_DECLS
#endif /* __GST_FLOW_COMBINER_H__ */
G_END_DECLS
#endif /* __GST_FLOW_COMBINER_H__ */
GType gst_push_src_get_type(void);
GType gst_push_src_get_type(void);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstPushSrc, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_PUSH_SRC_H__ */
G_END_DECLS
#endif /* __GST_PUSH_SRC_H__ */
GstClockTime gst_test_clock_id_list_get_latest_time (const GList * pending_list);
GstClockTime gst_test_clock_id_list_get_latest_time (const GList * pending_list);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstTestClock, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_TEST_CLOCK_H__ */
G_END_DECLS
#endif /* __GST_TEST_CLOCK_H__ */
GstControlSource * cs_a, GstControlSource * cs_r,
GstControlSource * cs_g, GstControlSource * cs_b);
GstControlSource * cs_a, GstControlSource * cs_r,
GstControlSource * cs_g, GstControlSource * cs_b);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstARGBControlBinding, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_ARGB_CONTROL_BINDING_H__ */
G_END_DECLS
#endif /* __GST_ARGB_CONTROL_BINDING_H__ */
GstControlBinding * gst_direct_control_binding_new_absolute (GstObject * object, const gchar * property_name,
GstControlSource * cs);
GstControlBinding * gst_direct_control_binding_new_absolute (GstObject * object, const gchar * property_name,
GstControlSource * cs);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstDirectControlBinding, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_DIRECT_CONTROL_BINDING_H__ */
G_END_DECLS
#endif /* __GST_DIRECT_CONTROL_BINDING_H__ */
GstControlSource * gst_interpolation_control_source_new (void);
GstControlSource * gst_interpolation_control_source_new (void);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstInterpolationControlSource, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_INTERPOLATION_CONTROL_SOURCE_H__ */
G_END_DECLS
#endif /* __GST_INTERPOLATION_CONTROL_SOURCE_H__ */
GstControlSource *gst_lfo_control_source_new (void);
GstControlSource *gst_lfo_control_source_new (void);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstLFOControlSource, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_LFO_CONTROL_SOURCE_H__ */
G_END_DECLS
#endif /* __GST_LFO_CONTROL_SOURCE_H__ */
gint gst_timed_value_control_source_get_count (GstTimedValueControlSource * self);
void gst_timed_value_control_invalidate_cache (GstTimedValueControlSource * self);
gint gst_timed_value_control_source_get_count (GstTimedValueControlSource * self);
void gst_timed_value_control_invalidate_cache (GstTimedValueControlSource * self);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstTimedValueControlSource, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_TIMED_VALUE_CONTROL_SOURCE_H__ */
G_END_DECLS
#endif /* __GST_TIMED_VALUE_CONTROL_SOURCE_H__ */
GstControlSource *gst_trigger_control_source_new (void);
GstControlSource *gst_trigger_control_source_new (void);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstTriggerControlSource, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_TRIGGER_CONTROL_SOURCE_H__ */
G_END_DECLS
#endif /* __GST_TRIGGER_CONTROL_SOURCE_H__ */
GstClock* gst_ntp_clock_new (const gchar *name, const gchar *remote_address,
gint remote_port, GstClockTime base_time);
GstClock* gst_ntp_clock_new (const gchar *name, const gchar *remote_address,
gint remote_port, GstClockTime base_time);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstNetClientClock, gst_object_unref)
+#endif
+
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstNtpClock, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_NET_CLIENT_CLOCK_H__ */
G_END_DECLS
#endif /* __GST_NET_CLIENT_CLOCK_H__ */
GSocketAddress * dest_address,
GError ** error);
GSocketAddress * dest_address,
GError ** error);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstNetTimePacket, gst_net_time_packet_free)
+#endif
+
const gchar *address,
gint port);
const gchar *address,
gint port);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstNetTimeProvider, gst_object_unref)
+#endif
+
GstClock* gst_ptp_clock_new (const gchar *name,
guint domain);
GstClock* gst_ptp_clock_new (const gchar *name,
guint domain);
+#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
+G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstPtpClock, gst_object_unref)
+#endif
+
G_END_DECLS
#endif /* __GST_PTP_CLOCK_H__ */
G_END_DECLS
#endif /* __GST_PTP_CLOCK_H__ */