[vlc] Re: Allow playback of empty character devices

Christophe Mutricy xtophe at nxtelevision.com
Thu Oct 26 16:45:09 CEST 2006


> VLC has a check in the file access module to fail when files are empty.
> This disallows using the following command:
> 
> $ vlc /dev/cxm0
> 
> The only thing that works:
> 
> $ cat /dev/cxm0 | vlc -
> 
> The disadvantage is that FreeBSD spends a lot of time in piperd, sending
> data from cat to vlc. The following patch adds a check to make 0 bytes
> character devices unseekable:
> 

Hello,

I think vlc stream:///dev/cxm0   will work.

But your patch has a point so i'll forward it to vlc-devel



-- 
Xtophe

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list