Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > 4ce783e6f9e63861af783decc7bce4bc > files > 2

vdr-plugin-vcd-0.7-13mdv2008.0.src.rpm

diff -Nurp vcd-0.7/menucontrol.c vcd-0.7-fix/menucontrol.c
--- vcd-0.7/menucontrol.c	2005-01-28 17:06:48.000000000 +0200
+++ vcd-0.7-fix/menucontrol.c	2006-01-19 18:53:44.000000000 +0200
@@ -39,7 +39,11 @@ cMenuSpiControl::cMenuSpiControl(void)
 
 cMenuSpiControl::~cMenuSpiControl()
 {
+#if VDRVERSNUM >= 10338
+  cStatus::MsgReplaying(this, NULL, NULL, false);
+#else
   cStatus::MsgReplaying(this, NULL);
+#endif
   Stop();
 }
 
@@ -118,13 +122,21 @@ cMenuVcdControl::cMenuVcdControl(void)
   lastSpeed = -1;
   timeoutShow = 0;
   timeSearchActive = false;
+#if VDRVERSNUM >= 10338
+  cStatus::MsgReplaying(this, "VCD", NULL, true);
+#else
   cStatus::MsgReplaying(this, "VCD");
+#endif
 }
 
 cMenuVcdControl::~cMenuVcdControl()
 {
   Hide();
+#if VDRVERSNUM >= 10338
+  cStatus::MsgReplaying(this, NULL, NULL, false);
+#else
   cStatus::MsgReplaying(this, NULL);
+#endif
   Stop();
 }
 
diff -Nurp vcd-0.7/psdcontrol.c vcd-0.7-fix/psdcontrol.c
--- vcd-0.7/psdcontrol.c	2005-01-28 21:15:14.000000000 +0200
+++ vcd-0.7-fix/psdcontrol.c	2006-01-19 18:56:19.000000000 +0200
@@ -84,7 +84,11 @@ cPsdSpiControl::cPsdSpiControl(int Loop)
  
 cPsdSpiControl::~cPsdSpiControl()
 {
+#if VDRVERSNUM >= 10338
+  cStatus::MsgReplaying(this, NULL, NULL, false);
+#else
   cStatus::MsgReplaying(this, NULL);
+#endif
 }
 
 void cPsdSpiControl::SetItem(int Spi, cVcd *Vcd, union psd_vcd *PsdVcd)
@@ -252,7 +256,11 @@ cPsdVcdControl::cPsdVcdControl(int Lba, 
 
 cPsdVcdControl::~cPsdVcdControl()
 {
+#if VDRVERSNUM >= 10338
+  cStatus::MsgReplaying(this, NULL, NULL, false);
+#else
   cStatus::MsgReplaying(this, NULL);
+#endif
 }
 
 void cPsdVcdControl::SetTrack(int Track, cVcd *Vcd, union psd_vcd *PsdVcd)