From ef804589cafcafba9c596d621ef6e415c29768f8 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Fri, 19 Mar 2010 15:03:43 +0100 Subject: [PATCH] rtsp: use GType from -base and bump required version Use the transport flags GType from -base and bump the required version of -base because of this. --- configure.ac | 4 ++-- gst/rtsp/gstrtspsrc.c | 20 -------------------- 2 files changed, 2 insertions(+), 22 deletions(-) diff --git a/configure.ac b/configure.ac index 7febfdae97..c45dd16a0d 100644 --- a/configure.ac +++ b/configure.ac @@ -52,8 +52,8 @@ AC_LIBTOOL_WIN32_DLL AM_PROG_LIBTOOL dnl *** required versions of GStreamer stuff *** -GST_REQ=0.10.27 -GSTPB_REQ=0.10.27 +GST_REQ=0.10.28.1 +GSTPB_REQ=0.10.28.1 dnl *** autotools stuff **** diff --git a/gst/rtsp/gstrtspsrc.c b/gst/rtsp/gstrtspsrc.c index d0d924f6f7..4d65e65baf 100644 --- a/gst/rtsp/gstrtspsrc.c +++ b/gst/rtsp/gstrtspsrc.c @@ -164,26 +164,6 @@ enum PROP_LAST }; -#define GST_TYPE_RTSP_LOWER_TRANS (gst_rtsp_lower_trans_get_type()) -static GType -gst_rtsp_lower_trans_get_type (void) -{ - static GType rtsp_lower_trans_type = 0; - static const GFlagsValue rtsp_lower_trans[] = { - {GST_RTSP_LOWER_TRANS_UDP, "UDP Unicast Mode", "udp-unicast"}, - {GST_RTSP_LOWER_TRANS_UDP_MCAST, "UDP Multicast Mode", "udp-multicast"}, - {GST_RTSP_LOWER_TRANS_TCP, "TCP interleaved mode", "tcp"}, - {GST_RTSP_LOWER_TRANS_HTTP, "HTTP tunneled mode", "http"}, - {0, NULL, NULL}, - }; - - if (!rtsp_lower_trans_type) { - rtsp_lower_trans_type = - g_flags_register_static ("GstRTSPLowerTrans", rtsp_lower_trans); - } - return rtsp_lower_trans_type; -} - #define GST_TYPE_RTSP_NAT_METHOD (gst_rtsp_nat_method_get_type()) static GType gst_rtsp_nat_method_get_type (void)