projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
39dceb7
)
rtsp-media: don't seek accurate by default
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 1 Oct 2013 15:16:11 +0000
(17:16 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Tue, 1 Oct 2013 15:16:11 +0000
(17:16 +0200)
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
patch
|
blob
|
history
diff --git
a/gst/rtsp-server/rtsp-media.c
b/gst/rtsp-server/rtsp-media.c
index
2c1f53d
..
293a4d8
100644
(file)
--- 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;