Mailing List archive

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

[vdr] Re: Still picture in pre5 - FIX



Hello (Klaus),

encrease the values for usleep() and MIN_IFRAME also didn't work. But if i use your patch as follows
it work ):

--- vdr-1.0.0pre5-orginal/dvbapi.c      Fri Mar 29 12:32:47 2002
+++ vdr-1.0.0pre5/dvbapi.c              Sat Apr  6 21:40:19 2002
@@ -1194,8 +1194,10 @@
   CHECK(ioctl(videoDev, VIDEO_STILLPICTURE, &sp));
 #else
 #define MIN_IFRAME 400000
-  for (int i = MIN_IFRAME / Length + 1; i > 0; i--)
+  for (int i = MIN_IFRAME / Length + 1; i > 0; i--) {
       safe_write(videoDev, b, Length);
+      usleep(1);
+      }
 #endif
 }

Gerald

Klaus Schmidinger schrieb:

> Gerald Raaf wrote:
> >
> > Hello (Klaus),
> >
> > i tested the patch, with clean vdr pre5 and the aio, and with clean DVB driver from 1 April and
> > it didnt work for me. I tested it with progress bar and without.
> >
> > Gerald
>
> Well, then I'm afraid I'm out of ideas.
> This patch immediately fixed the problem here.
> I'm using the original, unmodified DVB driver from 2002-04-01.
> Have you tried using larger values in the usleep(), like 100000
> for example?
> What if you increase the value of MIN_IFRAME to, say, 600000?
>
> Klaus
>
> >
> > Klaus Schmidinger schrieb:
> >
> > > Andreas Roedl wrote:
> > > >
> > > > Hello (Klaus)!
> > > >
> > > > Since pre5 I have the problem that the still picture isn't updated when I
> > > > jump from editing mark to editing mark. I tried both, the patched and the
> > > > unpatched version of the dvb driver. What's wrong?
> > >
> > > Looks like there's a problem if the progress display is active while
> > > jumping between still pictures.
> > >
> > > Please try the following and let me know if it works (N.B.: with the original,
> > > unpatched DVB driver!):
> > >
> > > --- dvbapi.c    2002/03/29 11:32:47
> > > +++ dvbapi.c    2002/04/06 11:08:54
> > > @@ -1196,6 +1196,7 @@
> > >  #define MIN_IFRAME 400000
> > >    for (int i = MIN_IFRAME / Length + 1; i > 0; i--)
> > >        safe_write(videoDev, b, Length);
> > > +  usleep(10000); // allows the buffer to be displayed in case the progress display is active
> > >  #endif
> > >  }
> > >
> > > 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
> _______________________________________________________________




Home | Main Index | Thread Index