diff options
author | Benjamin Otte <otte@redhat.com> | 2010-03-02 22:58:06 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.net> | 2012-09-11 01:54:39 +0100 |
commit | a7078b74fb1f4ab64b783aa791d7709a0917c7c8 (patch) | |
tree | 1fd78caa03aa98a4597a0ce5a15f64919644ad11 /gst/gdp | |
parent | b2314491b1953a37ca5da04498123645b7ee3d20 (diff) | |
download | gstreamer-plugins-bad-a7078b74fb1f4ab64b783aa791d7709a0917c7c8.tar.gz |
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
Diffstat (limited to 'gst/gdp')
-rw-r--r-- | gst/gdp/dataprotocol.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gst/gdp/dataprotocol.c b/gst/gdp/dataprotocol.c index 61705ca93..ac0a9ce25 100644 --- a/gst/gdp/dataprotocol.c +++ b/gst/gdp/dataprotocol.c @@ -378,6 +378,11 @@ gst_dp_header_payload_type (const guint8 * header) * Returns: %TRUE if the header was successfully created. */ #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 gst_dp_header_from_buffer (const GstBuffer * buffer, GstDPHeaderFlag flags, 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. */ #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 gst_dp_packet_from_caps (const GstCaps * caps, GstDPHeaderFlag flags, 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. */ #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 gst_dp_packet_from_event (const GstEvent * event, GstDPHeaderFlag flags, guint * length, guint8 ** header, guint8 ** payload) |