Commit b37f567e authored by Rafaël Carré's avatar Rafaël Carré

add an unspported demux query to remove a useless error. Show the query number...

add an unspported demux query to remove a useless error. Show the query number when it's unknown (for the future)
parent d549f3be
......@@ -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;
}
}
......
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