Commit 0a3aa895 authored by Johan Bilien's avatar Johan Bilien

* Modified vcd input for the new input III.
* Still have problems with end of tracks.
* Modified the command line, as stef did for the DVD :

 [vcd:][device][@[title][,chapter]

 Note that chapter support is not yet implemented.
parent 5ccf6972
This diff is collapsed.
...@@ -911,19 +911,18 @@ AC_ARG_ENABLE(vcd, ...@@ -911,19 +911,18 @@ AC_ARG_ENABLE(vcd,
if test x$enable_vcd != xno if test x$enable_vcd != xno
then then
AC_EGREP_HEADER(cdrom_msf0,linux/cdrom.h,[ AC_EGREP_HEADER(cdrom_msf0,linux/cdrom.h,[
#BUILTINS="${BUILTINS} vcd" BUILTINS="${BUILTINS} vcd"
]) ])
fi fi
if test x$enable_vcd != xno -a "${SYS}" = "bsdi" if test x$enable_vcd != xno -a "${SYS}" = "bsdi"
then then
#BUILTINS="${BUILTINS} vcd" BUILTINS="${BUILTINS} vcd"
true #delete me
fi fi
if test x$enable_vcd != xno -a "${SYS}" = "darwin" if test x$enable_vcd != xno -a "${SYS}" = "darwin"
then then
#BUILTINS="${BUILTINS} vcd" BUILTINS="${BUILTINS} vcd"
LIB_VCD="${LIB_VCD} -framework IOKit" LIB_VCD="${LIB_VCD} -framework IOKit"
fi fi
......
This diff is collapsed.
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* vcd.c : VCD input module for vlc * vcd.c : VCD input module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000 VideoLAN * Copyright (C) 2000 VideoLAN
* $Id: vcd.c,v 1.5 2002/02/15 13:32:53 sam Exp $ * $Id: vcd.c,v 1.6 2002/03/05 23:29:36 jobi Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -32,7 +32,8 @@ ...@@ -32,7 +32,8 @@
/***************************************************************************** /*****************************************************************************
* Capabilities defined in the other files. * Capabilities defined in the other files.
*****************************************************************************/ *****************************************************************************/
void _M( input_getfunctions )( function_list_t * p_function_list ); void _M( access_getfunctions )( function_list_t * p_function_list );
void _M( demux_getfunctions )( function_list_t * p_function_list );
/***************************************************************************** /*****************************************************************************
* Build configuration tree. * Build configuration tree.
...@@ -42,12 +43,14 @@ MODULE_CONFIG_STOP ...@@ -42,12 +43,14 @@ MODULE_CONFIG_STOP
MODULE_INIT_START MODULE_INIT_START
SET_DESCRIPTION( "VCD input module" ) SET_DESCRIPTION( "VCD input module" )
ADD_CAPABILITY( INPUT, 180 ) ADD_CAPABILITY( DEMUX, 205 )
ADD_CAPABILITY( ACCESS, 105 )
ADD_SHORTCUT( "vcd" ) ADD_SHORTCUT( "vcd" )
MODULE_INIT_STOP MODULE_INIT_STOP
MODULE_ACTIVATE_START MODULE_ACTIVATE_START
_M( input_getfunctions )( &p_module->p_functions->input ); _M( access_getfunctions )( &p_module->p_functions->access );
_M( demux_getfunctions )( &p_module->p_functions->demux );
MODULE_ACTIVATE_STOP MODULE_ACTIVATE_STOP
MODULE_DEACTIVATE_START MODULE_DEACTIVATE_START
......
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