* cddax.c : CD digital audio input module for vlc using libcdio
*****************************************************************************
* Copyright (C) 2000,2003 VideoLAN
- * $Id: access.c,v 1.13 2003/12/05 02:33:49 rocky Exp $
+ * $Id: access.c,v 1.14 2003/12/11 12:56:25 rocky Exp $
*
* Authors: Rocky Bernstein <rocky@panix.com>
* Laurent Aimar <fenrir@via.ecp.fr>
free( psz_orig );
return -1;
}
- psz_source = config_GetPsz( p_input, MODULE_STRING "-device" );
+ psz_source = config_GetPsz( p_input, "cd-audio" );
if( !psz_source || 0==strlen(psz_source) ) {
/* Scan for a CD-ROM drive with a CD-DA in it. */
* cddax.c : CD digital audio input module for vlc using libcdio
*****************************************************************************
* Copyright (C) 2000,2003 VideoLAN
- * $Id: cdda.c,v 1.10 2003/12/05 02:33:49 rocky Exp $
+ * $Id: cdda.c,v 1.11 2003/12/11 12:56:25 rocky Exp $
*
* Authors: Rocky Bernstein <rocky@panix.com>
* Laurent Aimar <fenrir@via.ecp.fr>
N_("Caching value in ms"),
CACHING_LONGTEXT, VLC_TRUE );
- add_string( MODULE_STRING "-device", "", NULL,
- N_("CD-ROM device name"),
- DEV_LONGTEXT, VLC_FALSE );
-
add_string( MODULE_STRING "-title-format",
"%T %M", NULL,
N_("Format to use in playlist 'title' field when no CDDB"),
* using libcdio, libvcd and libvcdinfo. vlc-specific things tend
* to go here.
*****************************************************************************
- * Copyright (C) 2000,2003 VideoLAN
- * $Id: access.c,v 1.9 2003/12/05 05:01:17 rocky Exp $
+ * Copyright (C) 2000, 2003 VideoLAN
+ * $Id: access.c,v 1.10 2003/12/11 12:56:25 rocky Exp $
*
* Authors: Rocky Bernstein <rocky@panix.com>
* Johan Bilien <jobi@via.ecp.fr>
*p_buf = 0x01;
dbg_print(INPUT_DBG_STILL, "Handled still event");
+#if 1
p_vcd->p_intf->p_sys->b_still = 1;
input_SetStatus( p_input, INPUT_STATUS_PAUSE );
+#endif
vlc_mutex_lock( &p_input->stream.stream_lock );
vlc_mutex_unlock( &p_input->stream.stream_lock );
- dbg_print(INPUT_DBG_STILL, "Clock manage");
input_ClockManageControl( p_input, p_pgrm, 0 );
- dbg_print(INPUT_DBG_STILL, "Clock manage done");
+
+ p_vcd->p_intf->p_sys->b_still = 1;
+ input_SetStatus( p_input, INPUT_STATUS_PAUSE );
return i_read + M2F2_SECTOR_SIZE;
}
/* No source specified, so figure it out. */
if( !p_input->psz_access ) return NULL;
- psz_source = config_GetPsz( p_input, MODULE_STRING "-device" );
+ psz_source = config_GetPsz( p_input, "vcd" );
if( !psz_source || 0==strlen(psz_source) ) {
/* Scan for a CD-ROM drive with a VCD in it. */
* vcd.c : VCD input module for vlc
*****************************************************************************
* Copyright (C) 2000,2003 VideoLAN
- * $Id: vcd.c,v 1.10 2003/11/30 13:53:45 rocky Exp $
+ * $Id: vcd.c,v 1.11 2003/12/11 12:56:25 rocky Exp $
*
* Authors: Rocky Bernstein <rocky@panix.com>
*
N_("set debug mask for additional debugging."),
DEBUG_LONGTEXT, VLC_TRUE );
- add_string( MODULE_STRING "-device", "", NULL,
- N_("VCD device name"),
- N_("Specify the name of the Video Compact Disc device that "
- "will be used by default. If you don't specify anything, "
- "we'll scan for a suitable VCD device."),
- VLC_FALSE );
-
add_bool( MODULE_STRING "-PBC", 0, NULL,
N_("Use playback control?"),
N_("If VCD is authored with playback control, use it. "