Commit fd8929f6 authored by sigmunau's avatar sigmunau
Browse files

http.c: if the webserver doesn't return 206 the stream is not seekable.

parent 877413ab
......@@ -2,7 +2,7 @@
* http.c: HTTP access plug-in
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: http.c,v 1.35 2003/05/15 22:27:36 massiot Exp $
* $Id: http.c,v 1.36 2003/06/02 16:01:21 sigmunau Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
......@@ -377,6 +377,10 @@ static int HTTPConnect( input_thread_t * p_input, off_t i_tell )
{
p_input->stream.b_seekable = VLC_FALSE;
}
if( i_code != 206 )
{
p_input->stream.b_seekable = VLC_FALSE;
}
p_input->stream.b_changed = VLC_TRUE;
vlc_mutex_unlock( &p_input->stream.stream_lock );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment