add an unspported demux query to remove a useless error. Show the query number when...
authorRafaël Carré <funman@videolan.org>
Mon, 19 Nov 2007 22:11:51 +0000 (22:11 +0000)
committerRafaël Carré <funman@videolan.org>
Mon, 19 Nov 2007 22:11:51 +0000 (22:11 +0000)
modules/demux/subtitle.c

index 72e8186..68623b3 100644 (file)
@@ -508,10 +508,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;
     }
 }