gst_clear_*: Cast to GstMiniObject** when needed

This commit is contained in:
Jan Alexander Steffens (heftig) 2018-11-05 14:03:51 +01:00
parent 8410490727
commit 1c3db34150
No known key found for this signature in database
GPG key ID: DE5E0C5F25941CA5
7 changed files with 7 additions and 7 deletions

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */

View file

@ -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);
}
/**