Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
ae06c715 by François Cartegnie at 2026-02-15T10:59:50+01:00
demux: mp4: do not set sync_sample to sample_group_entry sample

Roll info is not a sync point

- - - - -


1 changed file:

- modules/demux/mp4/mp4.c


Changes:

=====================================
modules/demux/mp4/mp4.c
=====================================
@@ -3577,9 +3577,10 @@ static int TrackTimeToSampleChunk( demux_t *p_demux, 
mp4_track_t *p_track,
     }
     else
     {
+        uint32_t i_group_sample_entry;
         const MP4_Box_data_sgpd_entry_t *p_entrydesc;
         if( MP4_SampleToGroupInfo( p_track->p_stbl, i_sample,
-                                  SAMPLEGROUP_roll, 0, &i_sync_sample,
+                                  SAMPLEGROUP_roll, 0, &i_group_sample_entry,
                                   SAMPLE_GROUP_MATCH_EXACT, &p_entrydesc ) )
         {
             msg_Dbg(p_demux, "track[Id 0x%x] preroll offset: %"PRId16" 
samples",



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

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/ae06c7155afa34e82e5fb3eb6e24e99f0184b9d0
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to