[MPlayer-users] mencoder+tv+grab

Jindrich Makovicka makovick at kmlinux.fjfi.cvut.cz
Tue Dec 17 00:55:03 CET 2002


WK wrote:

> Yes, now it works.
> Thank's a lot.
> You read Robert L. RAKSI mail.
> I am wonder is that simple bug or Athlon XP+, glibc-2.2.5,
> saa7134-0.1.11 driver trio guilty
> - unforeseen in tvi_v4l code?

Just too few error checks... tv.c didn't check for the return value of 
control(SET_NORM) and control(SET_NORM) didn't account for the cards 
which have a tuner but cannot set the norm. And in this case, fps value 
was left uninitialized (i.e. zero). Then "something/fps" yielded fpu 
error. I only don't know why it appeared first when I migrated to 
integer calculations in tvi_v4l.c, where possible.

-- 
Jindrich Makovicka





More information about the MPlayer-users mailing list