From: Wim Taymans Date: Tue, 1 Oct 2013 15:16:11 +0000 (+0200) Subject: rtsp-media: don't seek accurate by default X-Git-Tag: 1.19.3~495^2~962 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d138f79da077b913343657310a4bfd69ef4e74a3;p=platform%2Fupstream%2Fgstreamer.git 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. --- 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;