mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 13:21:28 +00:00
Fix some warnings
This commit is contained in:
parent
7463245117
commit
5b16f87f4b
1 changed files with 58 additions and 50 deletions
|
@ -20,7 +20,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|||
-->
|
||||
<metadata>
|
||||
<!-- No Conversion for GLib.Value -->
|
||||
<remove-node path="/api/namespace/object[@cname='GstPad']/property[@name='Caps']" />
|
||||
<remove-node path="/api/namespace/object[@cname='GstPad']/property[@name='Caps']"/>
|
||||
<!-- Error with array -->
|
||||
<attr path="/api/namespace/object[@cname='GstGlobal']/method[@cname='gst_formats_contains']" name="hidden">true</attr>
|
||||
<!-- MiniObject issues -->
|
||||
|
@ -28,7 +28,6 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|||
<attr path="/api/namespace/struct[@cname='GstMiniObject']/field[@cname='copy']" name="type">gpointer</attr>
|
||||
<attr path="/api/namespace/struct[@cname='GstMiniObject']/field[@cname='free']" name="type">gpointer</attr>
|
||||
<attr path="/api/namespace/struct[@cname='GstMiniObject']/field[@cname='dispose']" name="type">gpointer</attr>
|
||||
<attr path="/api/namespace/struct[@cname='GstMessage']/field[@cname='cond']" name="type">GCond*</attr>
|
||||
<!-- structs and objects that should be opaque -->
|
||||
<attr path="/api/namespace/boxed[@cname='GstDateTime']" name="opaque">true</attr>
|
||||
<attr path="/api/namespace/boxed[@cname='GstBufferList']" name="opaque">true</attr>
|
||||
|
@ -54,7 +53,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|||
<attr path="/api/namespace/struct[@cname='GstRTSPMessage']" name="opaque">true</attr>
|
||||
<attr path="/api/namespace/boxed[@cname='GstIterator']" name="opaque">true</attr>
|
||||
<attr path="/api/namespace/boxed[@cname='GstIterator']/method[@cname='gst_iterator_next']" name="hidden">true</attr>
|
||||
<remove-node path="/api/namespace/boxed[@cname='GstStructure']/field[@cname='name']" />
|
||||
<remove-node path="/api/namespace/boxed[@cname='GstStructure']/field[@cname='name']"/>
|
||||
<!-- Fix for GstChildProxy -->
|
||||
<attr path="/api/namespace/interface[@cname='GstChildProxy']/method[@cname='gst_child_proxy_get_property']" name="hidden">1</attr>
|
||||
<attr path="/api/namespace/interface[@cname='GstChildProxy']/method[@cname='gst_child_proxy_set_property']" name="hidden">1</attr>
|
||||
|
@ -67,15 +66,15 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|||
<attr path="/api/namespace/struct[@cname='GstRTSPMessage']/method[@cname='gst_rtsp_message_steal_body']" name="hidden">true</attr>
|
||||
<attr path="/api/namespace/struct[@cname='GstFFTF32']/method[@cname='gst_fft_f32_fft']" name="hidden">true</attr>
|
||||
<attr path="/api/namespace/struct[@cname='GstFFTF32']/method[@cname='gst_fft_f32_window']" name="hidden">true</attr>
|
||||
<attr path="//virtual_method[@cname='get_g_value_array']" name="hidden">true</attr>
|
||||
<attr path="//virtual_method[@cname='get_g_value_array']" name="hidden">true</attr>
|
||||
<!-- Maybe some problems with the name -->
|
||||
<remove-node path="/api/namespace/interface[@cname='GstURIHandler']/class_struct/method[@vm='get_type']" name="vm" />
|
||||
<remove-node path="/api/namespace/interface[@cname='GstURIHandler']/virtual_method[@cname='get_type']" name="hidden" />
|
||||
<remove-node path="/api/namespace/interface[@cname='GstURIHandler']/class_struct/method[@vm='get_type']" name="vm"/>
|
||||
<remove-node path="/api/namespace/interface[@cname='GstURIHandler']/virtual_method[@cname='get_type']" name="hidden"/>
|
||||
<!-- gapi cannot handle count parameters properly -->
|
||||
<attr path="/api/namespace/object[@cname='GstGlobal']/method[@cname='gst_init']/parameters/parameter[@name='argc']" name="name">n_argc</attr>
|
||||
<attr path="/api/namespace/object[@cname='GstGlobal']/method[@cname='gst_init_check']/parameters/parameter[@name='argc']" name="name">n_argc</attr>
|
||||
<!-- calling oldobj.Handle should fix this -->
|
||||
<remove-attr path="/api/namespace/object[@cname='GstObject']/method[@cname='gst_object_replace']/parameters/parameter[@name='oldobj']" name="pass_as" />
|
||||
<remove-attr path="/api/namespace/object[@cname='GstObject']/method[@cname='gst_object_replace']/parameters/parameter[@name='oldobj']" name="pass_as"/>
|
||||
<!-- Some glue problems -->
|
||||
<attr path="/api/namespace/object[@cname='GstObject']/field[@cname='object']" name="hidden">true</attr>
|
||||
<attr path="/api/namespace/struct[@cname='GstClockEntry']/field[@cname='func']" name="hidden">true</attr>
|
||||
|
@ -86,32 +85,38 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|||
<attr path="/api/namespace/object[@cname='GstBus']/method[@cname='gst_bus_sync_signal_handler']/parameters/parameter[@name='data']" name="hidden">1</attr>
|
||||
|
||||
<!-- API improvements -->
|
||||
<add-node path="/api/namespace[@name='Gst']"><class name="Parse" cname="GstParse" disable_void_ctor="1"></class></add-node>
|
||||
<add-node path="/api/namespace[@name='Gst']">
|
||||
<class name="Parse" cname="GstParse" disable_void_ctor="1"/>
|
||||
</add-node>
|
||||
<move-node path="/api/namespace/object[@name='Global']//method[starts-with(@cname, 'gst_parse')]">/api/namespace/class[@name='Parse']</move-node>
|
||||
|
||||
<remove-node path="/api/namespace/object[@name='Global']//method[@cname = 'gst_caps_from_string']" />
|
||||
<move-node path="/api/namespace/object[@name='Global']//method[contains(@cname, 'caps')]">/api/namespace/struct[@cname='GstCaps']</move-node>
|
||||
|
||||
<add-node path="/api/namespace[@name='Gst']"><class name="Debug" cname="GstDebug" disable_void_ctor="1"></class></add-node>
|
||||
|
||||
<add-node path="/api/namespace[@name='Gst']">
|
||||
<class name="Debug" cname="GstDebug" disable_void_ctor="1"/>
|
||||
</add-node>
|
||||
<move-node path="/api/namespace/object[@name='Global']//method[starts-with(@cname, 'gst_debug')]">/api/namespace/class[@cname='GstDebug']</move-node>
|
||||
|
||||
<add-node path="/api/namespace[@name='Gst']"><class name="Application" cname="GstApplication" disable_void_ctor="1"></class></add-node>
|
||||
|
||||
<add-node path="/api/namespace[@name='Gst']">
|
||||
<class name="Application" cname="GstApplication" disable_void_ctor="1"/>
|
||||
</add-node>
|
||||
<move-node path="/api/namespace/object[@name='Global']//method[contains(@cname, 'init') or starts-with(@cname, 'gst_version')]">/api/namespace/class[@cname='GstApplication']</move-node>
|
||||
|
||||
<add-node path="/api/namespace[@name='Gst']"><class name="Value" cname="GstValue" disable_void_ctor="1"></class></add-node>
|
||||
|
||||
<add-node path="/api/namespace[@name='Gst']">
|
||||
<class name="Value" cname="GstValue" disable_void_ctor="1"/>
|
||||
</add-node>
|
||||
<move-node path="/api/namespace/object[@name='Global']//method[starts-with(@cname, 'gst_value')]">/api/namespace/class[@cname='GstValue']</move-node>
|
||||
|
||||
<add-node path="/api/namespace[@name='Gst']"><class name="Tag" cname="GstTag" disable_void_ctor="1"></class></add-node>
|
||||
|
||||
<add-node path="/api/namespace[@name='Gst']">
|
||||
<class name="Tag" cname="GstTag" disable_void_ctor="1"/>
|
||||
</add-node>
|
||||
<move-node path="/api/namespace/object[@name='Global']//method[starts-with(@cname, 'gst_tag')]">/api/namespace/class[@cname='GstTag']</move-node>
|
||||
|
||||
<add-node path="/api/namespace[@name='Gst']"><class name="Util" cname="GstUtil" disable_void_ctor="1"></class></add-node>
|
||||
|
||||
<add-node path="/api/namespace[@name='Gst']">
|
||||
<class name="Util" cname="GstUtil" disable_void_ctor="1"/>
|
||||
</add-node>
|
||||
<move-node path="/api/namespace/object[@name='Global']//method[starts-with(@cname, 'gst_format') or starts-with(@cname, 'gst_uri') or starts-with(@cname, 'gst_util') or @cname='gst_filename_to_uri']">/api/namespace/class[@cname='GstUtil']</move-node>
|
||||
|
||||
|
||||
<move-node path="/api/namespace/object[@name='Global']//method[contains(@cname, 'registry')]">/api/namespace/object[@cname='GstRegistry']</move-node>
|
||||
<move-node path="/api/namespace/object[@name='Global']//method[starts-with(@cname, 'gst_poll')]">/api/namespace/struct[@cname='GstPoll']</move-node>
|
||||
<move-node path="/api/namespace/object[@name='Global']//method[starts-with(@cname, 'gst_message')]">/api/namespace/struct[@cname='GstMessage']</move-node>
|
||||
<move-node path="/api/namespace/object[@name='Global']//method[starts-with(@cname, 'gst_event')]">/api/namespace/struct[@cname='GstEvent']</move-node>
|
||||
<move-node path="/api/namespace/object[@name='Global']//method[starts-with(@cname, 'gst_query')]">/api/namespace/struct[@cname='GstQuery']</move-node>
|
||||
<move-node path="/api/namespace/object[@name='Global']//method[starts-with(@cname, 'gst_pad')]">/api/namespace/object[@cname='GstPad']</move-node>
|
||||
|
||||
<!-- Things implemented on our own -->
|
||||
|
@ -124,8 +129,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|||
<attr path="/api/namespace/object[@cname='GstVideoDecoder']/field[@cname='padding']" name="type">gpointer</attr>
|
||||
<attr path="/api/namespace/object[@cname='GstVideoDecoder']/class_struct/field[@cname='padding']" name="type">gpointer</attr>
|
||||
<attr path="/api/namespace/struct[@cname='GstByteReader']" name="opaque">1</attr>
|
||||
<remove-node path="/api/namespace//struct[@cname='GstByteReader']//method" />
|
||||
<attr path="//struct[@name='VideoGLTextureUploadMeta']//field[@cname='user_data_copy' or @cname='user_data_free']" name="hidden">true</attr>
|
||||
<remove-node path="/api/namespace//struct[@cname='GstByteReader']//method"/>
|
||||
<attr path="//struct[@name='VideoGLTextureUploadMeta']//field[@cname='user_data_copy' or @cname='user_data_free']" name="hidden">true</attr>
|
||||
|
||||
<!-- FIXME: remove when https://bugzilla.gnome.org/show_bug.cgi?id=709938 is fixed -->
|
||||
<attr path="/api/namespace/interface[@cname='GstNavigation']/method[@cname='gst_navigation_query_parse_commands_length']/parameters/parameter[@name='n_cmds']" name="pass_as">out</attr>
|
||||
|
@ -167,33 +172,36 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
|||
<attr path="/api/namespace[@name='Gst.Rtsp']" name="library">libgstrtsp-1.0-0.dll</attr>
|
||||
<attr path="/api/namespace[@name='Gst.Sdp']" name="library">libgstsdp-1.0-0.dll</attr>
|
||||
|
||||
<!-- DoubleRange and Fraction are in Value.cs -->
|
||||
<attr path="//struct[@name='DoubleRange' or @name='Fraction' or @name='IntRange' or @name='FractionRange']" name="hidden">true</attr>
|
||||
<!-- DoubleRange and Fraction are in Value.cs -->
|
||||
<attr path="//struct[@name='DoubleRange' or @name='Fraction' or @name='IntRange' or @name='FractionRange']" name="hidden">true</attr>
|
||||
|
||||
<!-- AppSink fixes -->
|
||||
<attr path="/api/namespace/object[@cname='GstAppSink']/signal[@cname='pull-sample']" name="hidden">true</attr>
|
||||
<attr path="/api/namespace/object[@cname='GstAppSink']/signal[@cname='pull-preroll']" name="hidden">true</attr>
|
||||
|
||||
<!-- MessageType should be uint -->
|
||||
<attr path="//enum[@name='MessageType']/member[@cname='GST_MESSAGE_UNKNOWN']" name="value">0U</attr>
|
||||
<!-- Extract is manually bound -->
|
||||
<attr path="//method[@cname='gst_buffer_extract']" name="hidden">true</attr>
|
||||
<attr path="//method[@cname='gst_buffer_extract_dup']" name="hidden">true</attr>
|
||||
<!-- MessageType should be uint -->
|
||||
<attr path="//enum[@name='MessageType']/member[@cname='GST_MESSAGE_UNKNOWN']" name="value">0U</attr>
|
||||
<!-- Extract is manually bound -->
|
||||
<attr path="//method[@cname='gst_buffer_extract']" name="hidden">true</attr>
|
||||
<attr path="//method[@cname='gst_buffer_extract_dup']" name="hidden">true</attr>
|
||||
|
||||
<!-- Introspection fails -->
|
||||
<attr path="//object[@cname='GstBufferPool']/field[@cname='flushing']" name="type">gboolean</attr>
|
||||
<remove-attr path="//boxed[@cname='GstMpegtsSection']//method//return-type[@type='GPtrArray']" name="array"/>
|
||||
<remove-attr path="//boxed[@cname='GstMpegtsSection']//method//return-type[@type='GPtrArray']" name="null_term_array"/>
|
||||
<remove-attr path="//object[@cname='GstMpegtsGlobal']//method//return-type[@type='GPtrArray']" name="array"/>
|
||||
<remove-attr path="//object[@cname='GstMpegtsGlobal']//method//return-type[@type='GPtrArray']" name="null_term_array"/>
|
||||
<remove-attr path="//boxed[@cname='GstMpegtsDescriptor']//method//parameter[@type='GPtrArray***']" name="array"/>
|
||||
<remove-attr path="//boxed[@cname='GstMpegtsDescriptor']//method//parameter[@type='GPtrArray***']" name="null_term_array"/>
|
||||
<attr path="//method[@cname='gst_mini_object_replace']" name="hidden">true</attr>
|
||||
<attr path="//method[@cname='gst_mini_object_take']" name="hidden">true</attr>
|
||||
<attr path="//struct[@cname='GstVideoGLTextureUploadMeta']" name="nohash">true</attr>
|
||||
<attr path="//struct[@cname='GstVideoGLTextureUploadMeta']" name="noequals">true</attr>
|
||||
|
||||
<!-- No way to correctly generate these without the element type -->
|
||||
<attr path="//boxed[@cname='GstMpegtsDescriptor']//method[parameters/parameter[@type='GArray***']]" name="hidden">true</attr>
|
||||
<!-- Introspection fails -->
|
||||
<attr path="//object[@cname='GstBufferPool']/field[@cname='flushing']" name="type">gboolean</attr>
|
||||
<remove-attr path="//boxed[@cname='GstMpegtsSection']//method//return-type[@type='GPtrArray']" name="array"/>
|
||||
<remove-attr path="//boxed[@cname='GstMpegtsSection']//method//return-type[@type='GPtrArray']" name="null_term_array"/>
|
||||
<remove-attr path="//object[@cname='GstMpegtsGlobal']//method//return-type[@type='GPtrArray']" name="array"/>
|
||||
<remove-attr path="//object[@cname='GstMpegtsGlobal']//method//return-type[@type='GPtrArray']" name="null_term_array"/>
|
||||
<remove-attr path="//boxed[@cname='GstMpegtsDescriptor']//method//parameter[@type='GPtrArray***']" name="array"/>
|
||||
<remove-attr path="//boxed[@cname='GstMpegtsDescriptor']//method//parameter[@type='GPtrArray***']" name="null_term_array"/>
|
||||
<attr path="//method[@cname='gst_mini_object_replace']" name="hidden">true</attr>
|
||||
<attr path="//method[@cname='gst_mini_object_take']" name="hidden">true</attr>
|
||||
<attr path="//struct[@cname='GstVideoGLTextureUploadMeta']" name="nohash">true</attr>
|
||||
<attr path="//struct[@cname='GstVideoGLTextureUploadMeta']" name="noequals">true</attr>
|
||||
<attr path="//object[@cname='GstPad']//union" name="hidden">true</attr>
|
||||
<attr path="//struct[@cname='GstControlPoint']" name="hidden">true</attr>
|
||||
<move-node path="//boxed[@cname='GstVideoCodecFrame']/union/field">//boxed[@cname='GstVideoCodecFrame']</move-node>
|
||||
<attr path="//boxed[@cname='GstVideoCodecFrame']/union" name="hidden">true</attr>
|
||||
<attr path="//boxed[@cname='GstVideoCodecFrame']/union/field[@cname='padding']" name="type">gpointer</attr>
|
||||
<!-- No way to correctly generate these without the element type -->
|
||||
<attr path="//boxed[@cname='GstMpegtsDescriptor']//method[parameters/parameter[@type='GArray***']]" name="hidden">true</attr>
|
||||
</metadata>
|
||||
|
||||
|
|
Loading…
Reference in a new issue