From fe8e877dd9585ccd9a329832ce09a136fd155b5d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 15 Jan 2015 19:34:20 +0100 Subject: [PATCH] rtsp-stream: Set format=TIME on our app sources for TCP --- gst/rtsp-server/rtsp-stream.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/rtsp-server/rtsp-stream.c b/gst/rtsp-server/rtsp-stream.c index 1054910..33ee7d4 100644 --- a/gst/rtsp-server/rtsp-stream.c +++ b/gst/rtsp-server/rtsp-stream.c @@ -2009,6 +2009,7 @@ gst_rtsp_stream_join_bin (GstRTSPStream * stream, GstBin * bin, if (priv->protocols & GST_RTSP_LOWER_TRANS_TCP) { /* make and add appsrc */ priv->appsrc[i] = gst_element_factory_make ("appsrc", NULL); + g_object_set (priv->appsrc[i], "format", GST_FORMAT_TIME, NULL); gst_bin_add (bin, priv->appsrc[i]); /* and link to the funnel */ selpad = gst_element_get_request_pad (priv->funnel[i], "sink_%u"); -- 2.7.4