mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 16:08:51 +00:00
element: rename gst_element_message_new_details() to gst_make_element_message_details()
Fixes g-i warning "Gst: Constructor return type mismatch symbol='gst_element_message_new_details' constructed='Gst.Element' return='Gst.Structure'". This is a newly-added function in git that has not been in a stable release yet, so it's fine to rename it. It's also only used indirectly via macros.
This commit is contained in:
parent
26797d0714
commit
3cba95ca2a
4 changed files with 5 additions and 5 deletions
|
@ -904,7 +904,7 @@ gst_element_change_state
|
||||||
<SUBSECTION element-messages>
|
<SUBSECTION element-messages>
|
||||||
gst_element_message_full
|
gst_element_message_full
|
||||||
gst_element_message_full_with_details
|
gst_element_message_full_with_details
|
||||||
gst_element_message_details_new
|
gst_make_element_message_details
|
||||||
gst_element_post_message
|
gst_element_post_message
|
||||||
|
|
||||||
<SUBSECTION element-query>
|
<SUBSECTION element-query>
|
||||||
|
|
|
@ -3479,7 +3479,7 @@ _priv_gst_element_cleanup (void)
|
||||||
}
|
}
|
||||||
|
|
||||||
GstStructure *
|
GstStructure *
|
||||||
gst_element_message_details_new (const char *name, ...)
|
gst_make_element_message_details (const char *name, ...)
|
||||||
{
|
{
|
||||||
GstStructure *structure;
|
GstStructure *structure;
|
||||||
va_list varargs;
|
va_list varargs;
|
||||||
|
|
|
@ -399,8 +399,8 @@ typedef enum
|
||||||
*/
|
*/
|
||||||
#define GST_ELEMENT_START_TIME(elem) (GST_ELEMENT_CAST(elem)->start_time)
|
#define GST_ELEMENT_START_TIME(elem) (GST_ELEMENT_CAST(elem)->start_time)
|
||||||
|
|
||||||
GstStructure *gst_element_message_details_new(const char *name, ...);
|
GstStructure *gst_make_element_message_details (const char *name, ...);
|
||||||
#define GST_ELEMENT_MESSAGE_MAKE_DETAILS(args) gst_element_message_details_new args
|
#define GST_ELEMENT_MESSAGE_MAKE_DETAILS(args) gst_make_element_message_details args
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* GST_ELEMENT_ERROR_WITH_DETAILS:
|
* GST_ELEMENT_ERROR_WITH_DETAILS:
|
||||||
|
|
|
@ -540,7 +540,6 @@ EXPORTS
|
||||||
gst_element_link_pads_full
|
gst_element_link_pads_full
|
||||||
gst_element_lost_state
|
gst_element_lost_state
|
||||||
gst_element_make_from_uri
|
gst_element_make_from_uri
|
||||||
gst_element_message_details_new
|
|
||||||
gst_element_message_full
|
gst_element_message_full
|
||||||
gst_element_message_full_with_details
|
gst_element_message_full_with_details
|
||||||
gst_element_no_more_pads
|
gst_element_no_more_pads
|
||||||
|
@ -690,6 +689,7 @@ EXPORTS
|
||||||
gst_library_error_get_type
|
gst_library_error_get_type
|
||||||
gst_library_error_quark
|
gst_library_error_quark
|
||||||
gst_lock_flags_get_type
|
gst_lock_flags_get_type
|
||||||
|
gst_make_element_message_details
|
||||||
gst_map_flags_get_type
|
gst_map_flags_get_type
|
||||||
gst_memory_alignment DATA
|
gst_memory_alignment DATA
|
||||||
gst_memory_copy
|
gst_memory_copy
|
||||||
|
|
Loading…
Reference in a new issue