| -rw-r--r-- | gst/rtsp-server/rtsp-auth.c | 4 | ||||
| -rw-r--r-- | gst/rtsp-server/rtsp-client.c | 17 | ||||
| -rw-r--r-- | gst/rtsp-server/rtsp-media-factory-uri.c | 5 | ||||
| -rw-r--r-- | gst/rtsp-server/rtsp-server.c | 4 |
4 files changed, 3 insertions, 27 deletions
diff --git a/gst/rtsp-server/rtsp-auth.c b/gst/rtsp-server/rtsp-auth.c index 1165677..c8aa140 100644 --- a/gst/rtsp-server/rtsp-auth.c +++ b/gst/rtsp-server/rtsp-auth.c @@ -87,8 +87,6 @@ static void gst_rtsp_auth_get_property (GObject * object, guint propid, GValue * value, GParamSpec * pspec) { - GstRTSPAuth *auth = GST_RTSP_AUTH (object); - switch (propid) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, propid, pspec); @@ -99,8 +97,6 @@ static void gst_rtsp_auth_set_property (GObject * object, guint propid, const GValue * value, GParamSpec * pspec) { - GstRTSPAuth *auth = GST_RTSP_AUTH (object); - switch (propid) { default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, propid, pspec); diff --git a/gst/rtsp-server/rtsp-client.c b/gst/rtsp-server/rtsp-client.c index 8147fd6..b828002 100644 --- a/gst/rtsp-server/rtsp-client.c +++ b/gst/rtsp-server/rtsp-client.c @@ -423,23 +423,6 @@ do_send_data (GstBuffer * buffer, guint8 channel, GstRTSPClient * client) return TRUE; } -static gboolean -do_send_data_list (GstBufferList * blist, guint8 channel, - GstRTSPClient * client) -{ - guint len, i; - - len = gst_buffer_list_length (blist); - - for (i = 0; i < len; i++) { - GstBuffer *group = gst_buffer_list_get (blist, i); - - do_send_data (group, channel, client); - } - - return TRUE; -} - static void link_stream (GstRTSPClient * client, GstRTSPSession * session, GstRTSPSessionStream * stream) diff --git a/gst/rtsp-server/rtsp-media-factory-uri.c b/gst/rtsp-server/rtsp-media-factory-uri.c index eee112a..c544449 100644 --- a/gst/rtsp-server/rtsp-media-factory-uri.c +++ b/gst/rtsp-server/rtsp-media-factory-uri.c @@ -121,7 +121,6 @@ typedef struct static gboolean payloader_filter (GstPluginFeature * feature, FilterData * data) { - gboolean res; const gchar *klass; GstElementFactory *fact; GList **list = NULL; @@ -290,7 +289,7 @@ gst_rtsp_media_factory_uri_get_uri (GstRTSPMediaFactoryURI * factory) static GstElementFactory * find_payloader (GstRTSPMediaFactoryURI * urifact, GstCaps * caps) { - GList *list, *tmp; + GList *list; GstElementFactory *factory = NULL; /* first find a demuxer that can link */ @@ -337,10 +336,8 @@ static gboolean autoplug_continue_cb (GstElement * uribin, GstPad * pad, GstCaps * caps, GstElement * element) { - GList *list, *tmp; FactoryData *data; GstElementFactory *factory; - gboolean res; GST_DEBUG ("found pad %s:%s of caps %" GST_PTR_FORMAT, GST_DEBUG_PAD_NAME (pad), caps); diff --git a/gst/rtsp-server/rtsp-server.c b/gst/rtsp-server/rtsp-server.c index 8a18cc2..c4b951e 100644 --- a/gst/rtsp-server/rtsp-server.c +++ b/gst/rtsp-server/rtsp-server.c @@ -562,7 +562,7 @@ gst_rtsp_server_create_socket (GstRTSPServer * server, { GSocketConnectable *conn; GSocketAddressEnumerator *enumerator; - GSocket *socket; + GSocket *socket = NULL; #ifdef USE_SOLINGER struct linger linger; #endif @@ -793,7 +793,7 @@ gboolean gst_rtsp_server_io_func (GSocket * socket, GIOCondition condition, GstRTSPServer * server) { - gboolean result; + gboolean result = TRUE; GstRTSPClient *client = NULL; GstRTSPServerClass *klass; GError *error = NULL; |
