[vlc-commits] [Git][videolan/vlc][3.0.x] demux: mp4: tag Apple chapters as non defaultable SPU

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Sun Apr 23 10:49:17 UTC 2023



Jean-Baptiste Kempf pushed to branch 3.0.x at VideoLAN / VLC


Commits:
7141328f by Francois Cartegnie at 2023-04-23T10:22:03+00:00
demux: mp4: tag Apple chapters as non defaultable SPU

refs #25561

- - - - -


1 changed file:

- modules/demux/mp4/mp4.c


Changes:

=====================================
modules/demux/mp4/mp4.c
=====================================
@@ -3530,7 +3530,7 @@ static void MP4_TrackSetup( demux_t *p_demux, mp4_track_t *p_track,
         p_track->fmt.i_priority = ES_PRIORITY_NOT_DEFAULTABLE;
     }
 
-    if( !p_track->b_enable )
+    if( !p_track->b_enable || p_track->b_chapters_source )
         p_track->fmt.i_priority = ES_PRIORITY_NOT_DEFAULTABLE;
 
     if( TrackCreateES( p_demux,



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/7141328fb8376e6ee8ed5b7efdda1bb879ceb222

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