changeset 35364:dd38e289f246

Always stick with current playlist item after a uiCurr() call. Don't go to next item when MPlayer ends playback by being signaled GUI_FILE_NEW. This always applies no matter what the current playing status is (although GUI_STOP would be very unlikely).
author ib
date Fri, 23 Nov 2012 13:35:31 +0000
parents f1018a8029b2
children fb054f36c3a9
files gui/ui/actions.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gui/ui/actions.c	Fri Nov 23 12:44:53 2012 +0000
+++ b/gui/ui/actions.c	Fri Nov 23 13:35:31 2012 +0000
@@ -257,7 +257,7 @@
 
         if (curr) {
             uiSetFileName(curr->path, curr->name, STREAMTYPE_FILE);
-            uiGotoTheNext = (guiInfo.Playing ? 0 : 1);
+            uiGotoTheNext = 0;
             break;
         }