summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Cameron <brian.cameron@sun.com>2003-07-15 13:17:20 +0000
committerBrian Cameron <brian.cameron@sun.com>2003-07-15 13:17:20 +0000
commitd1019eb046385b62b1a62f467ae8841b238dfc19 (patch)
tree4b0f2a9abf36a9f8c079f9a79c3e6df97380001c
parent57e8b7aba97b3a53ee8365de222ba7ad0e8a6130 (diff)
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.
m---------common0
-rw-r--r--gst/rtp/gstrtpgsmdepay.c4
-rw-r--r--gst/rtp/gstrtpgsmenc.c10
-rw-r--r--gst/rtp/gstrtpgsmparse.c4
-rw-r--r--gst/rtp/gstrtpgsmpay.c10
5 files changed, 22 insertions, 6 deletions
diff --git a/common b/common
-Subproject 74856703c922315f64b9314547966bd4963db96
+Subproject 063ebfd201ca87f316bf478d19440a585ce0af2
diff --git a/gst/rtp/gstrtpgsmdepay.c b/gst/rtp/gstrtpgsmdepay.c
index 814cc680..79401061 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 <string.h>
#include "gstrtpgsmparse.h"
#include "gstrtp-common.h"
diff --git a/gst/rtp/gstrtpgsmenc.c b/gst/rtp/gstrtpgsmenc.c
index 2fff85c6..f3d43136 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 <string.h>
#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 814cc680..79401061 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 <string.h>
#include "gstrtpgsmparse.h"
#include "gstrtp-common.h"
diff --git a/gst/rtp/gstrtpgsmpay.c b/gst/rtp/gstrtpgsmpay.c
index 2fff85c6..f3d43136 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 <string.h>
#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;