[vlc-commits] [Git][videolan/vlc][3.0.x] demux: mkv: handle mkv-use-chapter-codec option
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Sep 26 07:29:12 UTC 2024
Steve Lhomme pushed to branch 3.0.x at VideoLAN / VLC
Commits:
f0703a71 by Steve Lhomme at 2024-09-23T08:13:58+02: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.
(cherry picked from commit 4b479fb554cf1474fc549334459512b0b096dbcc)
- - - - -
1 changed file:
- modules/demux/mkv/matroska_segment_parse.cpp
Changes:
=====================================
modules/demux/mkv/matroska_segment_parse.cpp
=====================================
@@ -1257,6 +1257,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( size_t j = 0; j < cp.ListSize(); j++ )
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f0703a7162b14e178d745b64157ea932cb61a491
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/f0703a7162b14e178d745b64157ea932cb61a491
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