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.
This commit is contained in:
Brian Cameron 2003-07-15 13:17:20 +00:00
parent 57e8b7aba9
commit d1019eb046
5 changed files with 23 additions and 7 deletions

2
common

@ -1 +1 @@
Subproject commit 74856703c922315f64b9314547966bd4963db968
Subproject commit 063ebfd201ca87f316bf478d19440a585ce0af2c

View file

@ -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"

View file

@ -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;

View file

@ -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"

View file

@ -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;