Commit 4668d065 authored by Laurent Aimar's avatar Laurent Aimar

Also probe file:// for bd.

parent c830468d
...@@ -66,6 +66,7 @@ vlc_module_begin () ...@@ -66,6 +66,7 @@ vlc_module_begin ()
CACHING_TEXT, CACHING_LONGTEXT, true ) CACHING_TEXT, CACHING_LONGTEXT, true )
set_capability( "access_demux", 60 ) set_capability( "access_demux", 60 )
add_shortcut( "bd" ) add_shortcut( "bd" )
add_shortcut( "file" )
set_callbacks( Open, Close ) set_callbacks( Open, Close )
vlc_module_end () vlc_module_end ()
...@@ -152,7 +153,9 @@ static int Open( vlc_object_t *p_this ) ...@@ -152,7 +153,9 @@ static int Open( vlc_object_t *p_this )
demux_t *p_demux = (demux_t*)p_this; demux_t *p_demux = (demux_t*)p_this;
demux_sys_t *p_sys; demux_sys_t *p_sys;
if( *p_demux->psz_access && strcmp( p_demux->psz_access, "bd" ) ) if( *p_demux->psz_access &&
strcmp( p_demux->psz_access, "bd" ) &&
strcmp( p_demux->psz_access, "file" ) )
return VLC_EGENERIC; return VLC_EGENERIC;
/* */ /* */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment