mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
gdp: Fixes for -Wmissing-declarations -Wmissing-prototypes
Also adds those flags to the configure warning flags https://bugzilla.gnome.org/show_bug.cgi?id=611692
This commit is contained in:
parent
6e44ef60fa
commit
779da2ef0b
1 changed files with 15 additions and 0 deletions
|
@ -378,6 +378,11 @@ gst_dp_header_payload_type (const guint8 * header)
|
||||||
* Returns: %TRUE if the header was successfully created.
|
* Returns: %TRUE if the header was successfully created.
|
||||||
*/
|
*/
|
||||||
#ifndef GST_REMOVE_DEPRECATED
|
#ifndef GST_REMOVE_DEPRECATED
|
||||||
|
#ifdef GST_DISABLE_DEPRECATED
|
||||||
|
gboolean
|
||||||
|
gst_dp_header_from_buffer (const GstBuffer * buffer, GstDPHeaderFlag flags,
|
||||||
|
guint * length, guint8 ** header);
|
||||||
|
#endif
|
||||||
gboolean
|
gboolean
|
||||||
gst_dp_header_from_buffer (const GstBuffer * buffer, GstDPHeaderFlag flags,
|
gst_dp_header_from_buffer (const GstBuffer * buffer, GstDPHeaderFlag flags,
|
||||||
guint * length, guint8 ** header)
|
guint * length, guint8 ** header)
|
||||||
|
@ -410,6 +415,11 @@ gst_dp_header_from_buffer_1_0 (const GstBuffer * buffer, GstDPHeaderFlag flags,
|
||||||
* Returns: %TRUE if the packet was successfully created.
|
* Returns: %TRUE if the packet was successfully created.
|
||||||
*/
|
*/
|
||||||
#ifndef GST_REMOVE_DEPRECATED
|
#ifndef GST_REMOVE_DEPRECATED
|
||||||
|
#ifdef GST_DISABLE_DEPRECATED
|
||||||
|
gboolean
|
||||||
|
gst_dp_packet_from_caps (const GstCaps * caps, GstDPHeaderFlag flags,
|
||||||
|
guint * length, guint8 ** header, guint8 ** payload);
|
||||||
|
#endif
|
||||||
gboolean
|
gboolean
|
||||||
gst_dp_packet_from_caps (const GstCaps * caps, GstDPHeaderFlag flags,
|
gst_dp_packet_from_caps (const GstCaps * caps, GstDPHeaderFlag flags,
|
||||||
guint * length, guint8 ** header, guint8 ** payload)
|
guint * length, guint8 ** header, guint8 ** payload)
|
||||||
|
@ -442,6 +452,11 @@ gst_dp_packet_from_caps_1_0 (const GstCaps * caps, GstDPHeaderFlag flags,
|
||||||
* Returns: %TRUE if the packet was successfully created.
|
* Returns: %TRUE if the packet was successfully created.
|
||||||
*/
|
*/
|
||||||
#ifndef GST_REMOVE_DEPRECATED
|
#ifndef GST_REMOVE_DEPRECATED
|
||||||
|
#ifdef GST_DISABLE_DEPRECATED
|
||||||
|
gboolean
|
||||||
|
gst_dp_packet_from_event (const GstEvent * event, GstDPHeaderFlag flags,
|
||||||
|
guint * length, guint8 ** header, guint8 ** payload);
|
||||||
|
#endif
|
||||||
gboolean
|
gboolean
|
||||||
gst_dp_packet_from_event (const GstEvent * event, GstDPHeaderFlag flags,
|
gst_dp_packet_from_event (const GstEvent * event, GstDPHeaderFlag flags,
|
||||||
guint * length, guint8 ** header, guint8 ** payload)
|
guint * length, guint8 ** header, guint8 ** payload)
|
||||||
|
|
Loading…
Reference in a new issue