[vlc-commits] [Git][videolan/vlc][master] demux: mkv: handle mkv-use-chapter-codec option

Steve Lhomme (@robUx4) gitlab at videolan.org
Sun Sep 22 09:03:47 UTC 2024



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
4b479fb5 by Steve Lhomme at 2024-09-22T08:49:42+00:00
demux: mkv: handle mkv-use-chapter-codec option

For safety reasons some users may not want to handle any chapter codec.
The option was added 8697e6ef99ef0cec90bcf515052e5de1c09601ce but
never implemented.

- - - - -


1 changed file:

- modules/demux/mkv/matroska_segment_parse.cpp


Changes:

=====================================
modules/demux/mkv/matroska_segment_parse.cpp
=====================================
@@ -1435,6 +1435,9 @@ void matroska_segment_c::ParseChapterAtom( int i_level, KaxChapterAtom *ca, chap
         {
             debug( vars, "ChapterProcess" );
 
+            if ( !var_InheritBool( vars.p_demuxer, "mkv-use-chapter-codec") )
+                return;
+
             chapter_codec_cmds_c *p_ccodec = NULL;
 
             for (auto proc : cp)



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4b479fb554cf1474fc549334459512b0b096dbcc

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/4b479fb554cf1474fc549334459512b0b096dbcc
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