[vlc-commits] [Git][videolan/vlc][master] preparser: fix an assert that failed in `vlc_preparser_New`
    Steve Lhomme (@robUx4) 
    gitlab at videolan.org
       
    Thu Jan 16 12:09:08 UTC 2025
    
    
  
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
e81d2c95 by Gabriel Lafond-Thenaille at 2025-01-16T11:53:54+00:00
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.
- - - - -
1 changed file:
- src/preparser/preparser.c
Changes:
=====================================
src/preparser/preparser.c
=====================================
@@ -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;
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e81d2c95ca0a545f8de474afe9376ceee7669ca6
-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/e81d2c95ca0a545f8de474afe9376ceee7669ca6
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
    
    
More information about the vlc-commits
mailing list