Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vdr] Re: Timeshifting pb with vdr 1.1.32 / vdr-1.1.33



Klaus Schmidinger wrote:
> 
> Karim Afifi wrote:
> >
> > Hi Klaus,
> >
> > I've noticed a pb with timeshifting on vdr-1.1.32 / vdr-1.1.33
> > (plain-vanilla)
> > - one dvb-nexus
> > - dvb-driver 20030524.
> > - no LIRC, only keyboard.
> >
> > Pushing "pause" key
> > 1/ tv screen displays  "pausing live video..." => OK
> > 2/ picture is pausing => OK
> >
> > Pushing "pause" key one more time.
> > 1/ vdr play record => OK
> > 2/ after one second, screen turn black.
> > 3/ and vdr return to live satellite stream.
> >
> > nb : vdr continues recording  the live stream.
> >
> > Under vdr-1.1.29, as I remember, timeshifting was ok.
> > (I didn't try with 1.1.30 and 1.1.31 versions)
> >
> > Could you please check this failure?
> 
> Strange... I tried this like 10 times now (with version 1.1.33)
> and it didn't happen.
> 
> Can you reproduce this any time?
> Are there any special conditions that might be different on our
> two systems?

Ok, I believe I found it: the problem (at least here) only occurs
if I switch into "Pause live video" mode and _immediately_ press
"Play" or "Pause". Apparently there isn't enough data in the recording
yet to continue replay, so the player believes the file is at its end
and stops.

Please try this patch, which will force a few seconds of waiting after
pausing live video, so the recording's file can fill up somewhat.
There may be a cleaner solution, but that would probably involve
modifications in the player, which I can't do for the final 1.2.0
any more. Simply waiting a few seconds here seems to be an acceptable
workaround.

--- menu.c      2003/05/25 14:06:17     1.249
+++ menu.c      2003/05/29 09:35:28
@@ -3135,6 +3135,7 @@
      sleep(1); // allow device to replay some frames, so we have a picture
      Interface->Close();
      rc->ProcessKey(kPause); // pause, allowing replay mode display
+     sleep(3); // allow recorded file to fill up enough to continue replaying
      return true;
      }
   Interface->Close();


Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


-- 
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index