[vlc-devel] commit: playlist: don' t set current_status to NULL when a file or the playlist ends. It is our starting point for the next play. (Derk-Jan Hartman )
git version control
git at videolan.org
Sat Jul 26 20:48:17 CEST 2008
vlc | branch: master | Derk-Jan Hartman <hartman at videolan.org> | Sat Jul 26 20:48:47 2008 +0200| [d587aa489ce201c1cff42ae971c2ab094472fd58]
playlist: don't set current_status to NULL when a file or the playlist ends. It is our starting point for the next play.
Fixes #1748
Was broken in [7f717d69f39e3be46972fb9a462748424b09d0c3]
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d587aa489ce201c1cff42ae971c2ab094472fd58
---
src/playlist/engine.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/playlist/engine.c b/src/playlist/engine.c
index 94470f6..314b27f 100644
--- a/src/playlist/engine.c
+++ b/src/playlist/engine.c
@@ -380,8 +380,6 @@ check_input:
p_playlist->gc_date = mdate();
p_playlist->b_cant_sleep = true;
- set_current_status_item( p_playlist, NULL );
-
i_activity= var_GetInteger( p_playlist, "activity" );
var_SetInteger( p_playlist, "activity", i_activity -
DEFAULT_INPUT_ACTIVITY );
@@ -449,7 +447,6 @@ check_input:
const bool b_gc_forced = p_playlist->status.i_status != PLAYLIST_STOPPED;
p_playlist->status.i_status = PLAYLIST_STOPPED;
- set_current_status_item( p_playlist, NULL );
/* Collect garbage */
PL_UNLOCK;
More information about the vlc-devel
mailing list