diff options
author | Brian Cameron <brian.cameron@sun.com> | 2003-07-15 13:17:20 +0000 |
---|---|---|
committer | Brian Cameron <brian.cameron@sun.com> | 2003-07-15 13:17:20 +0000 |
commit | d1019eb046385b62b1a62f467ae8841b238dfc19 (patch) | |
tree | 4b0f2a9abf36a9f8c079f9a79c3e6df97380001c /gst/rtp/gstrtpgsmenc.c | |
parent | 57e8b7aba97b3a53ee8365de222ba7ad0e8a6130 (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.
Diffstat (limited to 'gst/rtp/gstrtpgsmenc.c')
-rw-r--r-- | gst/rtp/gstrtpgsmenc.c | 10 |
1 files changed, 7 insertions, 3 deletions
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; |