mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 03:01:03 +00:00
gst_clear_*: Cast to GstMiniObject** when needed
This commit is contained in:
parent
8410490727
commit
1c3db34150
7 changed files with 7 additions and 7 deletions
|
@ -458,7 +458,7 @@ gst_buffer_unref (GstBuffer * buf)
|
|||
static inline void
|
||||
gst_clear_buffer (GstBuffer ** buf_ptr)
|
||||
{
|
||||
gst_clear_mini_object (buf_ptr);
|
||||
gst_clear_mini_object ((GstMiniObject **) buf_ptr);
|
||||
}
|
||||
|
||||
/* copy buffer */
|
||||
|
|
|
@ -109,7 +109,7 @@ gst_buffer_list_unref (GstBufferList * list)
|
|||
static inline void
|
||||
gst_clear_buffer_list (GstBufferList ** list_ptr)
|
||||
{
|
||||
gst_clear_mini_object (list_ptr);
|
||||
gst_clear_mini_object ((GstMiniObject **) list_ptr);
|
||||
}
|
||||
|
||||
/* copy */
|
||||
|
|
|
@ -239,7 +239,7 @@ gst_caps_unref (GstCaps * caps)
|
|||
static inline void
|
||||
gst_clear_caps (GstCaps ** caps_ptr)
|
||||
{
|
||||
gst_clear_mini_object (caps_ptr);
|
||||
gst_clear_mini_object ((GstMiniObject **) caps_ptr);
|
||||
}
|
||||
|
||||
/* copy caps */
|
||||
|
|
|
@ -466,7 +466,7 @@ gst_event_unref (GstEvent * event)
|
|||
static inline void
|
||||
gst_clear_event (GstEvent ** event_ptr)
|
||||
{
|
||||
gst_clear_mini_object (event_ptr);
|
||||
gst_clear_mini_object ((GstMiniObject **) event_ptr);
|
||||
}
|
||||
|
||||
/* copy event */
|
||||
|
|
|
@ -395,7 +395,7 @@ gst_message_unref (GstMessage * msg)
|
|||
static inline void
|
||||
gst_clear_message (GstMessage ** msg_ptr)
|
||||
{
|
||||
gst_clear_mini_object (msg_ptr);
|
||||
gst_clear_mini_object ((GstMiniObject **) msg_ptr);
|
||||
}
|
||||
|
||||
/* copy message */
|
||||
|
|
|
@ -270,7 +270,7 @@ gst_query_unref (GstQuery * q)
|
|||
static inline void
|
||||
gst_clear_query (GstQuery ** query_ptr)
|
||||
{
|
||||
gst_clear_mini_object (query_ptr);
|
||||
gst_clear_mini_object ((GstMiniObject **) query_ptr);
|
||||
}
|
||||
|
||||
/* copy query */
|
||||
|
|
|
@ -497,7 +497,7 @@ gst_tag_list_unref (GstTagList * taglist)
|
|||
static inline void
|
||||
gst_clear_tag_list (GstTagList ** taglist_ptr)
|
||||
{
|
||||
gst_clear_mini_object (taglist_ptr);
|
||||
gst_clear_mini_object ((GstMiniObject **) taglist_ptr);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue