Commit 3f822b5c authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* modules/access/dvd*: changed some errors in warnings because the directory

  might still be readable by the directory access module.
* added drag and drop support for directories.
parent 3ec27748
...@@ -124,6 +124,16 @@ ...@@ -124,6 +124,16 @@
<key>CFBundleTypeRole</key> <key>CFBundleTypeRole</key>
<string>Viewer</string> <string>Viewer</string>
</dict> </dict>
<dict>
<key>CFBundleTypeMIMETypes</key>
<array>
<string>fold</string>
</array>
<key>CFBundleTypeName</key>
<string>Folder</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
</dict>
<dict> <dict>
<key>CFBundleTypeExtensions</key> <key>CFBundleTypeExtensions</key>
<array> <array>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* access.c: access capabilities for dvdplay plugin. * access.c: access capabilities for dvdplay plugin.
***************************************************************************** *****************************************************************************
* Copyright (C) 2001 VideoLAN * Copyright (C) 2001 VideoLAN
* $Id: access.c,v 1.13 2003/03/11 23:56:53 gbazin Exp $ * $Id: access.c,v 1.14 2003/03/24 14:18:28 hartman Exp $
* *
* Author: Stphane Borel <stef@via.ecp.fr> * Author: Stphane Borel <stef@via.ecp.fr>
* *
...@@ -107,7 +107,7 @@ int E_(OpenDVD) ( vlc_object_t *p_this ) ...@@ -107,7 +107,7 @@ int E_(OpenDVD) ( vlc_object_t *p_this )
if( p_dvd->vmg == NULL ) if( p_dvd->vmg == NULL )
{ {
msg_Err( p_input, "cannot open %s", psz_source ); msg_Warn( p_input, "cannot open %s", psz_source );
free( psz_source ); free( psz_source );
free( p_dvd ); free( p_dvd );
return -1; return -1;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* It depends on: libdvdread for ifo files and block reading. * It depends on: libdvdread for ifo files and block reading.
***************************************************************************** *****************************************************************************
* Copyright (C) 2001, 2003 VideoLAN * Copyright (C) 2001, 2003 VideoLAN
* $Id: input.c,v 1.17 2003/03/11 23:56:53 gbazin Exp $ * $Id: input.c,v 1.18 2003/03/24 14:18:28 hartman Exp $
* *
* Author: Stphane Borel <stef@via.ecp.fr> * Author: Stphane Borel <stef@via.ecp.fr>
* *
...@@ -350,7 +350,7 @@ int E_(OpenDVD) ( vlc_object_t *p_this ) ...@@ -350,7 +350,7 @@ int E_(OpenDVD) ( vlc_object_t *p_this )
/* Ifo allocation & initialisation */ /* Ifo allocation & initialisation */
if( ! ( p_dvd->p_vmg_file = ifoOpen( p_dvd->p_dvdread, 0 ) ) ) if( ! ( p_dvd->p_vmg_file = ifoOpen( p_dvd->p_dvdread, 0 ) ) )
{ {
msg_Err( p_input, "cannot open VMG info" ); msg_Warn( p_input, "cannot open VMG info" );
free( p_dvd ); free( p_dvd );
return VLC_EGENERIC; return VLC_EGENERIC;
} }
......
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