[MPlayer-cvslog] r36915 - trunk/gui/win32/preferences.c

ib subversion at mplayerhq.hu
Sun Feb 23 21:33:41 CET 2014


Author: ib
Date: Sun Feb 23 21:33:41 2014
New Revision: 36915

Log:
Set correct position for audio delay slider in the trackbar.

The position must be set unconditionally.

Modified:
   trunk/gui/win32/preferences.c

Modified: trunk/gui/win32/preferences.c
==============================================================================
--- trunk/gui/win32/preferences.c	Sun Feb 23 21:04:54 2014	(r36914)
+++ trunk/gui/win32/preferences.c	Sun Feb 23 21:33:41 2014	(r36915)
@@ -391,7 +391,6 @@ static LRESULT CALLBACK PrefsWndProc(HWN
             else gtkAOExtraStereoMul = 1.0;
             SendDlgItemMessage(hwnd, ID_TRACKBAR1, TBM_SETPOS, 1, (LPARAM)stereopos);
 
-            if(audio_delay)
                 SendDlgItemMessage(hwnd, ID_TRACKBAR2, TBM_SETPOS, 1, (LPARAM)delaypos);
 
             if(gtkCacheOn) {


More information about the MPlayer-cvslog mailing list