lkml.org 
[lkml]   [1999]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectbttv.h: #define VBIBUF_SIZE 65536
Hi,

In older bttvs (<0.5.20) VBIBUF_SIZE has already been 64k. In later
version (including the version in 2.2.0) it was set to 19*2*2k. Now,
in 2.2.1, it is reset to 64k. Is there a deeper reason?

I ask this because it breaks alevt. It checks the frame counter at
the end of the buffer and discards all incomplete pages if the frame
counter is wrong. When using the wrong buffer size, the frame counter
is never right.

IIRC, the correct value, according to the Teletext standards, would
be 19*2*2k.

Please, either revert that part of the 2.2.1 changes or add the
BTTV_VERSION ioctl to vbi_ioctl (I've already sent an appropriate
patch long ago; only 4 or 5 lines) so that I may auto detect the
right buffer size. Even better would be a VBI_BUFSIZE or so ioctl.

Ciao, ET.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.224 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site