]> git.sesse.net Git - vlc/blobdiff - modules/demux/subtitle.c
Don't include config.h from the headers - refs #297.
[vlc] / modules / demux / subtitle.c
index 72e8186a6743df138972f97aa59bb4b1cbb75740..44fd7ce05d4213159d0c39005a2e30b165241627 100644 (file)
 /*****************************************************************************
  * Preamble
  *****************************************************************************/
+#ifdef HAVE_CONFIG_H
+# include "config.h"
+#endif
+
 #include <vlc/vlc.h>
 #include <vlc_input.h>
 
@@ -508,10 +512,11 @@ static int Control( demux_t *p_demux, int i_query, va_list args )
         case DEMUX_GET_META:
         case DEMUX_GET_ATTACHMENTS:
         case DEMUX_GET_TITLE_INFO:
+        case DEMUX_HAS_UNSUPPORTED_META:
             return VLC_EGENERIC;
 
         default:
-            msg_Err( p_demux, "unknown query in subtitle control" );
+            msg_Err( p_demux, "unknown query %d in subtitle control", i_query );
             return VLC_EGENERIC;
     }
 }