]> git.sesse.net Git - vlc/blobdiff - modules/access/gnomevfs.c
Do not throw VLCException in Video class
[vlc] / modules / access / gnomevfs.c
index 399dab65df382c1946f5d49fef50516af4d7c8e1..d14d5b73a5dc8eeb76c6e12ccc3033cde640499c 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/vlc.h>
 #include <vlc_access.h>
 
 #include <libgnomevfs/gnome-vfs.h>
 
-#include <string.h>
-#include <stdio.h>
 
 #include <vlc_charset.h>
 #include "vlc_url.h"
@@ -414,6 +416,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
         case ACCESS_SET_SEEKPOINT:
         case ACCESS_SET_PRIVATE_ID_STATE:
         case ACCESS_GET_META:
+        case ACCESS_GET_CONTENT_TYPE:
             return VLC_EGENERIC;
 
         default: