Commit 6f90434b authored by Francois Cartegnie's avatar Francois Cartegnie

demux: adaptative: hide errors on non strict parsing

parent 1bd5110b
......@@ -66,7 +66,11 @@ bool DOMParser::parse (bool b)
if(!vlc_reader && !(vlc_reader = xml_ReaderCreate(stream, stream)))
return false;
const int i_flags = vlc_reader->i_flags;
if(!b)
vlc_reader->i_flags |= OBJECT_FLAGS_QUIET;
root = processNode(b);
vlc_reader->i_flags = i_flags;
if ( root == NULL )
return false;
......
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