From 90da904f1e435812ce245928b80cfd325785ff37 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 29 Jun 2003 19:46:12 +0000 Subject: compatibility fix for new GST_DEBUG stuff. Original commit message from CVS: compatibility fix for new GST_DEBUG stuff. Includes fixes for missing includes for config.h and unistd.h I only ensured for plugins I can build that they work, so if some of them are still broken, you gotta fix them yourselves unfortunately. --- gst/rtp/gstrtpL16parse.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'gst/rtp/gstrtpL16parse.c') diff --git a/gst/rtp/gstrtpL16parse.c b/gst/rtp/gstrtpL16parse.c index 63d3e0bd..484b7a30 100644 --- a/gst/rtp/gstrtpL16parse.c +++ b/gst/rtp/gstrtpL16parse.c @@ -12,6 +12,9 @@ * Library General Public License for more */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif #include #include "gstrtpL16parse.h" #include "gstrtp-common.h" @@ -238,7 +241,7 @@ gst_rtpL16parse_chain (GstPad * pad, GstBuffer * buf) memcpy (GST_BUFFER_DATA (outbuf), rtp_packet_get_payload (packet), GST_BUFFER_SIZE (outbuf)); - GST_DEBUG (0,"gst_rtpL16parse_chain: pushing buffer of size %d", GST_BUFFER_SIZE(outbuf)); + GST_DEBUG ("gst_rtpL16parse_chain: pushing buffer of size %d", GST_BUFFER_SIZE(outbuf)); /* FIXME: According to RFC 1890, this is required, right? */ #if G_BYTE_ORDER == G_LITTLE_ENDIAN @@ -303,7 +306,7 @@ gst_rtpL16parse_change_state (GstElement * element) rtpL16parse = GST_RTP_L16_PARSE (element); - GST_DEBUG (0, "state pending %d\n", GST_STATE_PENDING (element)); + GST_DEBUG ("state pending %d\n", GST_STATE_PENDING (element)); switch (GST_STATE_TRANSITION (element)) { case GST_STATE_NULL_TO_READY: -- cgit