Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] Re: Still picture in pre5 - FIX
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?
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