[vlc-commits] stream_filter/httplive.c: restore seeking

Jean-Paul Saman git at videolan.org
Tue Oct 11 10:51:25 CEST 2011


vlc | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Tue Oct 11 10:21:00 2011 +0200| [10c42e7f27e574b20d82c2bee992b66a14301696] | committer: Jean-Paul Saman

stream_filter/httplive.c: restore seeking

HTTP Live Streaming client does not support fast seeking, since that
would mean getting all data from the server. It would slowdown playback
of the stream until the end of the movie has been reached.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=10c42e7f27e574b20d82c2bee992b66a14301696
---

 modules/stream_filter/httplive.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
index 4402e62..93d0081 100644
--- a/modules/stream_filter/httplive.c
+++ b/modules/stream_filter/httplive.c
@@ -2117,7 +2117,6 @@ static int Control(stream_t *s, int i_query, va_list args)
     switch (i_query)
     {
         case STREAM_CAN_SEEK:
-        case STREAM_CAN_FASTSEEK:
             *(va_arg (args, bool *)) = hls_MaySeek(s);
             break;
         case STREAM_GET_POSITION:



More information about the vlc-commits mailing list