Mailing List archive

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

[vdr] Re: Still picture in pre5 - FIX



Hello!

Am Sonntag, 7. April 2002 11:45 schrieb Klaus Schmidinger:
> Gerald Raaf wrote:
> > 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
>
> Ok, with this change it still works for me (and apparently it works for
> you _only_ with this change - strange).
>
> Can the others who have initially reported that my "workaround" doesn't
> work for them please try Gerald's modification (putting the usleep() into
> the for loop) and let me know if it works that way for them?

It works! (TM)


Andi

-- 
Web:   http://www.flood-net.de/
Mail:  flood@flood-net.de
Phone: +49-(0)-30-680577-44
Linux opens doors, not windows!
http://www.bundestux.de/   http://counter.li.org/



Home | Main Index | Thread Index