Mercurial > mplayer.hg
changeset 34069:5c505f79932d
Change handling for option "enqueue" in guiPlaylistInitialize().
Since filename has already been set, only the case "enqueue != 0"
must be handled.
author | ib |
---|---|
date | Thu, 29 Sep 2011 13:58:57 +0000 |
parents | c3b22e92a4ec |
children | 2a95a82ea083 |
files | gui/interface.c |
diffstat | 1 files changed, 2 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/gui/interface.c Thu Sep 29 13:52:19 2011 +0000 +++ b/gui/interface.c Thu Sep 29 13:58:57 2011 +0000 @@ -868,11 +868,8 @@ uiCurr(); // update filename uiGotoTheNext = 1; - if (!enqueue) - filename = guiInfo.Filename; // Backward compatibility; if file is specified on commandline, - // gmplayer does directly start in Play-Mode. - else - filename = NULL; + if (enqueue) + filename = NULL; // don't start playing return result; }