Commit 3838e880 authored by Sam Hocevar's avatar Sam Hocevar

* ./modules/access/dvdread/input.c: the dvdread plugin issues a warning

    instead of an error when it can't stat() the device (Closes: #77).
parent 77081ffb
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* dvdread.c : DvdRead input module for vlc * dvdread.c : DvdRead input module for vlc
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: dvdread.c,v 1.2 2002/08/07 00:29:36 sam Exp $ * $Id: dvdread.c,v 1.3 2003/01/23 09:58:02 sam Exp $
* *
* Authors: Samuel Hocevar <sam@zoy.org> * Authors: Samuel Hocevar <sam@zoy.org>
* *
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* it under the terms of the GNU General Public License as published by * it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or * the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
...@@ -46,9 +46,9 @@ vlc_module_begin(); ...@@ -46,9 +46,9 @@ vlc_module_begin();
set_description( _("DVDRead input module") ); set_description( _("DVDRead input module") );
add_submodule(); add_submodule();
set_capability( "access", 110 ); set_capability( "access", 110 );
set_callbacks( E_(OpenDVD), E_(CloseDVD) ); set_callbacks( E_(OpenDVD), E_(CloseDVD) );
add_submodule(); add_submodule();
set_capability( "demux", 0 ); set_capability( "demux", 0 );
set_callbacks( E_(InitDVD), E_(EndDVD) ); set_callbacks( E_(InitDVD), E_(EndDVD) );
vlc_module_end(); vlc_module_end();
This diff is collapsed.
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