Commit 1e105908 authored by Stéphane Borel's avatar Stéphane Borel

-DVD access plugin is only called if specified under windows (no automatic detection)

parent 47ab9185
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* dvd.c : DVD input module for vlc * dvd.c : DVD input module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2000-2001 VideoLAN * Copyright (C) 2000-2001 VideoLAN
* $Id: dvd.c,v 1.23 2002/03/04 01:53:56 stef Exp $ * $Id: dvd.c,v 1.24 2002/03/04 03:44:17 stef Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -57,14 +57,19 @@ ADD_CATEGORY_HINT( "[dvd:][device][@raw_device][@[title][,[chapter][,angle]]]", ...@@ -57,14 +57,19 @@ ADD_CATEGORY_HINT( "[dvd:][device][@raw_device][@[title][,[chapter][,angle]]]",
MODULE_CONFIG_STOP MODULE_CONFIG_STOP
MODULE_INIT_START MODULE_INIT_START
#ifdef GOD_DAMN_DMCA #ifndef WIN32
# ifdef GOD_DAMN_DMCA
SET_DESCRIPTION( "DVD input module, uses libdvdcss if present" ) SET_DESCRIPTION( "DVD input module, uses libdvdcss if present" )
ADD_CAPABILITY( DEMUX, 190 ) ADD_CAPABILITY( DEMUX, 190 )
ADD_CAPABILITY( ACCESS, 90 ) ADD_CAPABILITY( ACCESS, 90 )
#else # else
SET_DESCRIPTION( "DVD input module, linked with libdvdcss" ) SET_DESCRIPTION( "DVD input module, linked with libdvdcss" )
ADD_CAPABILITY( DEMUX, 200 ) ADD_CAPABILITY( DEMUX, 200 )
ADD_CAPABILITY( ACCESS, 100 ) ADD_CAPABILITY( ACCESS, 100 )
# endif
#else
ADD_CAPABILITY( DEMUX, 0 )
ADD_CAPABILITY( ACCESS, 0 )
#endif #endif
ADD_SHORTCUT( "dvd" ) ADD_SHORTCUT( "dvd" )
MODULE_INIT_STOP MODULE_INIT_STOP
......
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