From d138f79da077b913343657310a4bfd69ef4e74a3 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Tue, 1 Oct 2013 17:16:11 +0200 Subject: [PATCH] rtsp-media: don't seek accurate by default Accurate seeking is perhaps a little overkill in the most common situation and causes some formats (mp3) over slow media to seek extremely slowly. --- gst/rtsp-server/rtsp-media.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gst/rtsp-server/rtsp-media.c b/gst/rtsp-server/rtsp-media.c index 2c1f53d..293a4d8 100644 --- a/gst/rtsp-server/rtsp-media.c +++ b/gst/rtsp-server/rtsp-media.c @@ -1270,6 +1270,7 @@ gst_rtsp_media_seek (GstRTSPMedia * media, GstRTSPTimeRange * range) /* depends on the current playing state of the pipeline. We might need to * queue this until we get EOS. */ flags = GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_ACCURATE | GST_SEEK_FLAG_KEY_UNIT; + flags = GST_SEEK_FLAG_FLUSH | GST_SEEK_FLAG_KEY_UNIT; start_type = stop_type = GST_SEEK_TYPE_NONE; -- 2.7.4