[MPlayer-dev-eng] [PATCH] make teletext (vbi read) work with EINTR

Vladimir Voroshilov voroshil at gmail.com
Tue Oct 16 03:54:45 CEST 2007


2007/10/16, Oldrich Jedlicka <oldium.pro at seznam.cz>:
> Hi all,
>
> I figured out that mplayer 1.0_rc2 (installed from Gentoo ebuild) fails
> reading from /dev/vbi0 (teletext) with message:
>
> vbi: expecting bytes: 65536, got: -1
>
> so I extended the error report by strerror(errno) and the cause of the problem
> is an unhandled EINTR (affected files are stream/tvi_v4l.c,
> stream/tvi_v4l2.c). The patch (attached) is so trivial that I thing no more
> description is necessary - it handles EINTR in a while loop.
>
> It works for me, finally I can enjoy the teletext feature.
>
> If you have any questions, do not hesitate to ask.
>

Thanks for your effort.
I've applied modified version: 'if+continue' instead of second 'while'

-- 
Regards,
Vladimir Voroshilov     mailto:voroshil at gmail.com
JID: voroshil at gmail.com, voroshil at jabber.ru
ICQ: 95587719



More information about the MPlayer-dev-eng mailing list