[MPlayer-dev-eng] [PATCH] make teletext (vbi read) work with EINTR
Carl Eugen Hoyos
cehoyos at ag.or.at
Mon Oct 15 23:55:17 CEST 2007
Hi!
Oldrich Jedlicka <oldium.pro <at> seznam.cz> writes:
> 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.
I can confirm that I also need this patch to watch teletext.
Sorry for not reporting earlier, Carl Eugen
More information about the MPlayer-dev-eng
mailing list