[vlc-devel] [PATCH v2] Add support for reading EIA-608 closed captions via V4L2 VBI devices

Devin Heitmueller dheitmueller at kernellabs.com
Mon Oct 29 16:14:00 CET 2012


On Mon, Oct 29, 2012 at 5:31 AM, Jean-Baptiste Kempf <jb at videolan.org> wrote:
> On 28 Oct, Devin Heitmueller wrote :
>> +#ifdef ZVBI_COMPILED
>> +    add_loadfile( CFG_PREFIX "vbidev", NULL,
>> +                  VBI_DEVICE_TEXT, VBI_DEVICE_LONGTEXT, false )
>> +#endif
>
> Is empty the sane default?

I believe it is the sane default.  My goal was to introduce the VBI
support as optional at least in the beginning.  This is especially
true since there is no way to correlate the /dev/videoX device with
the /dev/vbiX device nodes.  Hence I didn't want a situation where by
default it was picking the wrong VBI device for the target video
device (e.g. selecting the VBI node for a tuner while picking the
video node for a webcam).

Presumably once the "media controller" support is eventually merged
into the kernel, we should be able to associate VBI devices with Video
devices (however, I've been saying that for three years now).

Devin

-- 
Devin J. Heitmueller - Kernel Labs
http://www.kernellabs.com



More information about the vlc-devel mailing list