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);
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);
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)
static gboolean
payloader_filter (GstPluginFeature * feature, FilterData * data)
{
- gboolean res;
const gchar *klass;
GstElementFactory *fact;
GList **list = NULL;
static GstElementFactory *
find_payloader (GstRTSPMediaFactoryURI * urifact, GstCaps * caps)
{
- GList *list, *tmp;
+ GList *list;
GstElementFactory *factory = NULL;
/* first find a demuxer that can link */
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);
{
GSocketConnectable *conn;
GSocketAddressEnumerator *enumerator;
- GSocket *socket;
+ GSocket *socket = NULL;
#ifdef USE_SOLINGER
struct linger linger;
#endif
gst_rtsp_server_io_func (GSocket * socket, GIOCondition condition,
GstRTSPServer * server)
{
- gboolean result;
+ gboolean result = TRUE;
GstRTSPClient *client = NULL;
GstRTSPServerClass *klass;
GError *error = NULL;