Skip to content
Snippets Groups Projects
Commit e81d2c95 authored by Gabriel Lafond-Thenaille's avatar Gabriel Lafond-Thenaille Committed by Steve Lhomme
Browse files

preparser: fix an assert that failed in `vlc_preparser_New`

add `VLC_PREPARSER_THUMBNAILER_TO_FILES` in a vlc_preparser_New's assert
that check the preparser type.
parent 611f6f8d
No related branches found
No related tags found
1 merge request!6557preparser: fix an assert that failed in `vlc_preparser_New`
Pipeline #555803 passed with stage
in 13 minutes and 19 seconds
......@@ -578,7 +578,8 @@ vlc_preparser_t* vlc_preparser_New( vlc_object_t *parent,
int request_type = cfg->types;
assert(request_type & (VLC_PREPARSER_TYPE_FETCHMETA_ALL|
VLC_PREPARSER_TYPE_PARSE|
VLC_PREPARSER_TYPE_THUMBNAIL));
VLC_PREPARSER_TYPE_THUMBNAIL|
VLC_PREPARSER_TYPE_THUMBNAIL_TO_FILES));
unsigned parser_threads = cfg->max_parser_threads == 0 ? 1 :
cfg->max_parser_threads;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment