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:
parent
57e8b7aba9
commit
d1019eb046
2
common
2
common
@ -1 +1 @@
|
|||||||
Subproject commit 74856703c922315f64b9314547966bd4963db968
|
Subproject commit 063ebfd201ca87f316bf478d19440a585ce0af2c
|
@ -12,6 +12,10 @@
|
|||||||
* Library General Public License for more
|
* Library General Public License for more
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
# include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "gstrtpgsmparse.h"
|
#include "gstrtpgsmparse.h"
|
||||||
#include "gstrtp-common.h"
|
#include "gstrtp-common.h"
|
||||||
|
@ -17,6 +17,10 @@
|
|||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
# include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "gstrtpgsmenc.h"
|
#include "gstrtpgsmenc.h"
|
||||||
|
|
||||||
@ -53,7 +57,7 @@ GST_PAD_TEMPLATE_FACTORY (sink_factory,
|
|||||||
"audio/x-gsm",
|
"audio/x-gsm",
|
||||||
"rate", GST_PROPS_INT_RANGE (1000, 48000)
|
"rate", GST_PROPS_INT_RANGE (1000, 48000)
|
||||||
)
|
)
|
||||||
);
|
)
|
||||||
|
|
||||||
GST_PAD_TEMPLATE_FACTORY (src_factory,
|
GST_PAD_TEMPLATE_FACTORY (src_factory,
|
||||||
"src",
|
"src",
|
||||||
@ -63,7 +67,7 @@ GST_PAD_TEMPLATE_FACTORY (src_factory,
|
|||||||
"rtp",
|
"rtp",
|
||||||
"application/x-rtp",
|
"application/x-rtp",
|
||||||
NULL)
|
NULL)
|
||||||
);
|
)
|
||||||
|
|
||||||
static void gst_rtpgsmenc_class_init (GstRtpGSMEncClass * klass);
|
static void gst_rtpgsmenc_class_init (GstRtpGSMEncClass * klass);
|
||||||
static void gst_rtpgsmenc_init (GstRtpGSMEnc * rtpgsmenc);
|
static void gst_rtpgsmenc_init (GstRtpGSMEnc * rtpgsmenc);
|
||||||
@ -186,7 +190,7 @@ gst_rtpgsmenc_chain (GstPad * pad, GstBuffer * buf)
|
|||||||
|
|
||||||
switch (GST_EVENT_TYPE (event)) {
|
switch (GST_EVENT_TYPE (event)) {
|
||||||
case GST_EVENT_DISCONTINUOUS:
|
case GST_EVENT_DISCONTINUOUS:
|
||||||
GST_DEBUG (GST_CAT_EVENT, "discont");
|
GST_DEBUG ("discont");
|
||||||
rtpgsmenc->next_time = 0;
|
rtpgsmenc->next_time = 0;
|
||||||
gst_pad_event_default (pad, event);
|
gst_pad_event_default (pad, event);
|
||||||
return;
|
return;
|
||||||
|
@ -12,6 +12,10 @@
|
|||||||
* Library General Public License for more
|
* Library General Public License for more
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
# include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "gstrtpgsmparse.h"
|
#include "gstrtpgsmparse.h"
|
||||||
#include "gstrtp-common.h"
|
#include "gstrtp-common.h"
|
||||||
|
@ -17,6 +17,10 @@
|
|||||||
* Boston, MA 02111-1307, USA.
|
* Boston, MA 02111-1307, USA.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifdef HAVE_CONFIG_H
|
||||||
|
# include "config.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include "gstrtpgsmenc.h"
|
#include "gstrtpgsmenc.h"
|
||||||
|
|
||||||
@ -53,7 +57,7 @@ GST_PAD_TEMPLATE_FACTORY (sink_factory,
|
|||||||
"audio/x-gsm",
|
"audio/x-gsm",
|
||||||
"rate", GST_PROPS_INT_RANGE (1000, 48000)
|
"rate", GST_PROPS_INT_RANGE (1000, 48000)
|
||||||
)
|
)
|
||||||
);
|
)
|
||||||
|
|
||||||
GST_PAD_TEMPLATE_FACTORY (src_factory,
|
GST_PAD_TEMPLATE_FACTORY (src_factory,
|
||||||
"src",
|
"src",
|
||||||
@ -63,7 +67,7 @@ GST_PAD_TEMPLATE_FACTORY (src_factory,
|
|||||||
"rtp",
|
"rtp",
|
||||||
"application/x-rtp",
|
"application/x-rtp",
|
||||||
NULL)
|
NULL)
|
||||||
);
|
)
|
||||||
|
|
||||||
static void gst_rtpgsmenc_class_init (GstRtpGSMEncClass * klass);
|
static void gst_rtpgsmenc_class_init (GstRtpGSMEncClass * klass);
|
||||||
static void gst_rtpgsmenc_init (GstRtpGSMEnc * rtpgsmenc);
|
static void gst_rtpgsmenc_init (GstRtpGSMEnc * rtpgsmenc);
|
||||||
@ -186,7 +190,7 @@ gst_rtpgsmenc_chain (GstPad * pad, GstBuffer * buf)
|
|||||||
|
|
||||||
switch (GST_EVENT_TYPE (event)) {
|
switch (GST_EVENT_TYPE (event)) {
|
||||||
case GST_EVENT_DISCONTINUOUS:
|
case GST_EVENT_DISCONTINUOUS:
|
||||||
GST_DEBUG (GST_CAT_EVENT, "discont");
|
GST_DEBUG ("discont");
|
||||||
rtpgsmenc->next_time = 0;
|
rtpgsmenc->next_time = 0;
|
||||||
gst_pad_event_default (pad, event);
|
gst_pad_event_default (pad, event);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user