reelchannelscan 0.6.1 patch for vdr-1.7.0 + h264

Message ID a0689bde0805270026u51193d9i693f1ba87db8a4aa@mail.gmail.com
State New
Headers

Commit Message

sundararaj reel May 27, 2008, 7:26 a.m. UTC
  On Mon, May 26, 2008 at 12:17 PM, Mike Booth
<mike_booth76@iprimus.com.au> wrote:

> works fine for me except that at the end of a scan it returns to channel 1 and
> not the last channel ( pain in the arse)

Hope this patch remedies your problem.


   Channels.SwitchTo(::Setup.CurrentChannel);
===============
  

Patch

==============
--- csmenu.c    (revision 6186)
+++ csmenu.c    (working copy)
@@ -483,7 +483,7 @@ 
 cMenuChannelscan::ProcessKey(eKeys Key)
 {

-  if (cMenuChannelscan::scanState == ssInterrupted )
+  if (cMenuChannelscan::scanState >= ssInterrupted )
   {
     // get back to the channel that was being played, not to channel
#1 if Interrupted