Commit bff75d2c authored by Gildas Bazin's avatar Gildas Bazin

* modules/demux/dvdnav.c: added "dvd" shortcut and removed old TODO list.

parent 117ba20f
...@@ -52,18 +52,12 @@ vlc_module_begin(); ...@@ -52,18 +52,12 @@ vlc_module_begin();
add_integer( "dvdnav-caching", DEFAULT_PTS_DELAY / 1000, NULL, add_integer( "dvdnav-caching", DEFAULT_PTS_DELAY / 1000, NULL,
CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE ); CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
set_capability( "access_demux", 0 ); set_capability( "access_demux", 0 );
add_shortcut( "dvd" );
add_shortcut( "dvdnav" ); add_shortcut( "dvdnav" );
add_shortcut( "dvdnavsimple" ); add_shortcut( "dvdnavsimple" );
set_callbacks( Open, Close ); set_callbacks( Open, Close );
vlc_module_end(); vlc_module_end();
/* TODO
* - use dvdnav_get_next_cache_block/dvdnav_free_cache_block
* - all
* - once done the new input API remove the pseudo access
* - ...
*/
/* Shall we use libdvdnav's read ahead cache? */ /* Shall we use libdvdnav's read ahead cache? */
#define DVD_READ_CACHE 1 #define DVD_READ_CACHE 1
...@@ -586,7 +580,7 @@ static int Demux( demux_t *p_demux ) ...@@ -586,7 +580,7 @@ static int Demux( demux_t *p_demux )
msg_Dbg( p_demux, " - domain=%d", event->new_domain ); msg_Dbg( p_demux, " - domain=%d", event->new_domain );
/* dvdnav_get_video_aspect / dvdnav_get_video_scale_permission */ /* dvdnav_get_video_aspect / dvdnav_get_video_scale_permission */
/* TODO check if we alsways have VTS and CELL */ /* TODO check if we always have VTS and CELL */
p_sys->i_aspect = dvdnav_get_video_aspect( p_sys->dvdnav ); p_sys->i_aspect = dvdnav_get_video_aspect( p_sys->dvdnav );
/* reset PCR */ /* reset PCR */
......
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