From 78ea76bcf25b3546dc1de2de42877d469ec169bd Mon Sep 17 00:00:00 2001 From: Sigmund Augdal Helberg Date: Mon, 17 Mar 2003 15:05:55 +0000 Subject: [PATCH] fixed up http redirects when there are other items in the playlist. --- modules/access/http.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/access/http.c b/modules/access/http.c index d26bd3e00f..9930f9aab8 100644 --- a/modules/access/http.c +++ b/modules/access/http.c @@ -2,7 +2,7 @@ * http.c: HTTP access plug-in ***************************************************************************** * Copyright (C) 2001, 2002 VideoLAN - * $Id: http.c,v 1.25 2003/03/03 14:21:08 gbazin Exp $ + * $Id: http.c,v 1.26 2003/03/17 15:05:55 sigmunau Exp $ * * Authors: Christophe Massiot * @@ -339,7 +339,8 @@ static int HTTPConnect( input_thread_t * p_input, off_t i_tell ) p_playlist->pp_items[p_playlist->i_index]->b_autodeletion = VLC_TRUE; playlist_Add( p_playlist, psz_value, - PLAYLIST_APPEND | PLAYLIST_GO, PLAYLIST_END ); + PLAYLIST_INSERT | PLAYLIST_GO, + p_playlist->i_index + 1 ); vlc_object_release( p_playlist ); }