From d1019eb046385b62b1a62f467ae8841b238dfc19 Mon Sep 17 00:00:00 2001 From: Brian Cameron Date: Tue, 15 Jul 2003 13:17:20 +0000 Subject: [PATCH] Added #include of config.h so that they symbol "VERSION" could be found. Original commit message from CVS: Added #include of config.h so that they symbol "VERSION" could be found. Also removed GST_CAT_EVENT from a GST_DEBUG line to reflect recent changes in the debug logic. Now this plugin compiles. --- common | 2 +- gst/rtp/gstrtpgsmdepay.c | 4 ++++ gst/rtp/gstrtpgsmenc.c | 10 +++++++--- gst/rtp/gstrtpgsmparse.c | 4 ++++ gst/rtp/gstrtpgsmpay.c | 10 +++++++--- 5 files changed, 23 insertions(+), 7 deletions(-) diff --git a/common b/common index 7485670..063ebfd 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 74856703c922315f64b9314547966bd4963db968 +Subproject commit 063ebfd201ca87f316bf478d19440a585ce0af2c diff --git a/gst/rtp/gstrtpgsmdepay.c b/gst/rtp/gstrtpgsmdepay.c index 814cc68..7940106 100644 --- a/gst/rtp/gstrtpgsmdepay.c +++ b/gst/rtp/gstrtpgsmdepay.c @@ -12,6 +12,10 @@ * Library General Public License for more */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include "gstrtpgsmparse.h" #include "gstrtp-common.h" diff --git a/gst/rtp/gstrtpgsmenc.c b/gst/rtp/gstrtpgsmenc.c index 2fff85c..f3d4313 100644 --- a/gst/rtp/gstrtpgsmenc.c +++ b/gst/rtp/gstrtpgsmenc.c @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include "gstrtpgsmenc.h" @@ -53,7 +57,7 @@ GST_PAD_TEMPLATE_FACTORY (sink_factory, "audio/x-gsm", "rate", GST_PROPS_INT_RANGE (1000, 48000) ) -); +) GST_PAD_TEMPLATE_FACTORY (src_factory, "src", @@ -63,7 +67,7 @@ GST_PAD_TEMPLATE_FACTORY (src_factory, "rtp", "application/x-rtp", NULL) -); +) static void gst_rtpgsmenc_class_init (GstRtpGSMEncClass * klass); static void gst_rtpgsmenc_init (GstRtpGSMEnc * rtpgsmenc); @@ -186,7 +190,7 @@ gst_rtpgsmenc_chain (GstPad * pad, GstBuffer * buf) switch (GST_EVENT_TYPE (event)) { case GST_EVENT_DISCONTINUOUS: - GST_DEBUG (GST_CAT_EVENT, "discont"); + GST_DEBUG ("discont"); rtpgsmenc->next_time = 0; gst_pad_event_default (pad, event); return; diff --git a/gst/rtp/gstrtpgsmparse.c b/gst/rtp/gstrtpgsmparse.c index 814cc68..7940106 100644 --- a/gst/rtp/gstrtpgsmparse.c +++ b/gst/rtp/gstrtpgsmparse.c @@ -12,6 +12,10 @@ * Library General Public License for more */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include "gstrtpgsmparse.h" #include "gstrtp-common.h" diff --git a/gst/rtp/gstrtpgsmpay.c b/gst/rtp/gstrtpgsmpay.c index 2fff85c..f3d4313 100644 --- a/gst/rtp/gstrtpgsmpay.c +++ b/gst/rtp/gstrtpgsmpay.c @@ -17,6 +17,10 @@ * Boston, MA 02111-1307, USA. */ +#ifdef HAVE_CONFIG_H +# include "config.h" +#endif + #include #include "gstrtpgsmenc.h" @@ -53,7 +57,7 @@ GST_PAD_TEMPLATE_FACTORY (sink_factory, "audio/x-gsm", "rate", GST_PROPS_INT_RANGE (1000, 48000) ) -); +) GST_PAD_TEMPLATE_FACTORY (src_factory, "src", @@ -63,7 +67,7 @@ GST_PAD_TEMPLATE_FACTORY (src_factory, "rtp", "application/x-rtp", NULL) -); +) static void gst_rtpgsmenc_class_init (GstRtpGSMEncClass * klass); static void gst_rtpgsmenc_init (GstRtpGSMEnc * rtpgsmenc); @@ -186,7 +190,7 @@ gst_rtpgsmenc_chain (GstPad * pad, GstBuffer * buf) switch (GST_EVENT_TYPE (event)) { case GST_EVENT_DISCONTINUOUS: - GST_DEBUG (GST_CAT_EVENT, "discont"); + GST_DEBUG ("discont"); rtpgsmenc->next_time = 0; gst_pad_event_default (pad, event); return; -- 2.7.4