[vlc-devel] [PATCH 2/2] V4L2: Add support for radio devices.
remi at remlab.net
Thu Aug 4 13:01:28 CEST 2011
On Thu, 4 Aug 2011 12:17:28 +0200, Thierry Reding
<thierry.reding at avionic-design.de> wrote:
>> If there is never going to be any data, then AccessOpen() should fail.
>> AccessRead() should never be reached to begin with.
> I thought that failing AccessOpen() would perhaps lead to VLC failing to
> open the stream. Perhaps I should dig through some more code since I'm
> obviously missing some pieces.
VLC first probes for an "access_demux" plug-in that matches the URI
scheme, and if that fails, it probes for an "access" plug-in. If both
fails, it gives up and prints the error dialog.
V4L2 video capture is an "access_demux": as a frame grabber, it does not
fit the byte stream abstraction.
V4L2 can operate as an "access" for the few devices that output a
compressed video byte stream instead of raw pictures.
More information about the vlc-devel