mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-07 16:08:51 +00:00
gdp: GST_DISABLE_DEPRECATED is only for users of API that don't want to see deprecated functions in the headers; people th...
Original commit message from CVS: 2006-08-11 Andy Wingo <wingo@pobox.com> * configure.ac: * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new): * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED is only for users of API that don't want to see deprecated functions in the headers; people that want to compile out deprecated code should pass -DGST_REMOVE_DEPRECATED into the CFLAGS. Fixes the build of multifdsink, or will soon..
This commit is contained in:
parent
562a1bbdd6
commit
a03185f5f2
1 changed files with 4 additions and 4 deletions
|
@ -380,7 +380,7 @@ 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_DISABLE_DEPRECATED
|
#ifndef GST_REMOVE_DEPRECATED
|
||||||
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)
|
||||||
|
@ -412,7 +412,7 @@ 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_DISABLE_DEPRECATED
|
#ifndef GST_REMOVE_DEPRECATED
|
||||||
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)
|
||||||
|
@ -444,7 +444,7 @@ 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_DISABLE_DEPRECATED
|
#ifndef GST_REMOVE_DEPRECATED
|
||||||
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)
|
||||||
|
@ -875,7 +875,7 @@ gst_dp_packetizer_new (GstDPVersion version)
|
||||||
ret->version = version;
|
ret->version = version;
|
||||||
|
|
||||||
switch (version) {
|
switch (version) {
|
||||||
#ifndef GST_DISABLE_DEPRECATED
|
#ifndef GST_REMOVE_DEPRECATED
|
||||||
case GST_DP_VERSION_0_2:
|
case GST_DP_VERSION_0_2:
|
||||||
ret->header_from_buffer = gst_dp_header_from_buffer;
|
ret->header_from_buffer = gst_dp_header_from_buffer;
|
||||||
ret->packet_from_caps = gst_dp_packet_from_caps;
|
ret->packet_from_caps = gst_dp_packet_from_caps;
|
||||||
|
|
Loading…
Reference in a new issue