summaryrefslogtreecommitdiff
blob: aff8b7beedf049f2c89fb33a8b83ecfd77562757 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff -ruN music-0.2.0/mplayer.c~ music-0.2.0/mplayer.c
--- music-0.2.0/mplayer.c~
+++ music-0.2.0/mplayer.c
@@ -231,7 +231,12 @@
 #else
     Interface->Close();
 #endif
+#if VDRVERSNUM >= 10500
+    visible = modeOnly = false;
+    SetNeedsFastResponse(visible);
+#else
     needsFastResponse=visible=modeOnly=false;
+#endif
     }
 }
 
@@ -302,7 +307,13 @@
       Interface->Clear();
       if(MPlayerSetup.OsdPos>0) Interface->Fill(0,3,Interface->Width(),MPlayerSetup.OsdPos,clrTransparent);
 #endif
+#if VDRVERSNUM >= 10500
+      visible = true;
+      SetNeedsFastResponse(visible);
+      modeOnly=false;
+#else
       needsFastResponse=visible=true; modeOnly=false;
+#endif
       lastCurrent=lastTotal=-1;
       flush=true;
       }