[vlc-devel] [PATCH] LUA script to read DCP

Ilkka Ollakka ileoo at videolan.org
Wed Mar 6 20:34:40 CET 2013


On Wed, Mar 06, 2013 at 08:14:55PM +0100, Pierre Villard wrote:
> ---
> +function probe()
> +    -- TODO Remote files
> +    if( vlc.access == "http" ) then
> +       return false
> +    end

I think in here it would be better to allow known work access-modules
(file, directory?) and otherwise return false. As now for example
ftp/smb/rtsp don't hit that check. Or maybe check if full_path is_dir()

Ilkka Ollakka
Q:	What lies on the bottom of the ocean and twitches?
A:	A nervous wreck.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: Digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20130306/0b231386/attachment.sig>

More information about the vlc-devel mailing list