* modules/access/dvd*: changed some errors in warnings because the directory
authorDerk-Jan Hartman <hartman@videolan.org>
Mon, 24 Mar 2003 14:18:28 +0000 (14:18 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Mon, 24 Mar 2003 14:18:28 +0000 (14:18 +0000)
  might still be readable by the directory access module.
* added drag and drop support for directories.

extras/MacOSX/vlc.pbproj/project.pbxproj
modules/access/dvdplay/access.c
modules/access/dvdread/input.c

index bad34c8..08c39b9 100644 (file)
                        <key>CFBundleTypeRole</key>
                        <string>Viewer</string>
                </dict>
                        <key>CFBundleTypeRole</key>
                        <string>Viewer</string>
                </dict>
+               <dict>
+                       <key>CFBundleTypeMIMETypes</key>
+                       <array>
+                               <string>fold</string>
+                       </array>
+                       <key>CFBundleTypeName</key>
+                       <string>Folder</string>
+                       <key>CFBundleTypeRole</key>
+                       <string>Viewer</string>
+               </dict>
                <dict>
                        <key>CFBundleTypeExtensions</key>
                        <array>
                <dict>
                        <key>CFBundleTypeExtensions</key>
                        <array>
index 035ae57..f0787d7 100644 (file)
@@ -2,7 +2,7 @@
  * access.c: access capabilities for dvdplay plugin.
  *****************************************************************************
  * Copyright (C) 2001 VideoLAN
  * access.c: access capabilities for dvdplay plugin.
  *****************************************************************************
  * 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: Stéphane Borel <stef@via.ecp.fr>
  *
  *
  * Author: Stéphane Borel <stef@via.ecp.fr>
  *
@@ -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( p_dvd );
         return -1;
         free( psz_source );
         free( p_dvd );
         return -1;
index 0d12856..e8cf171 100644 (file)
@@ -6,7 +6,7 @@
  * It depends on: libdvdread for ifo files and block reading.
  *****************************************************************************
  * Copyright (C) 2001, 2003 VideoLAN
  * It depends on: libdvdread for ifo files and block reading.
  *****************************************************************************
  * 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: Stéphane Borel <stef@via.ecp.fr>
  *
  *
  * Author: Stéphane Borel <stef@via.ecp.fr>
  *
@@ -350,7 +350,7 @@ int E_(OpenDVD) ( vlc_object_t *p_this )
     /* Ifo allocation & initialisation */
     if( ! ( p_dvd->p_vmg_file = ifoOpen( p_dvd->p_dvdread, 0 ) ) )
     {
     /* Ifo allocation & initialisation */
     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 );
         return VLC_EGENERIC;
     }
         free( p_dvd );
         return VLC_EGENERIC;
     }