vlc | branch: master | Francois Cartegnie <[email protected]> | Thu Jul 5 22:43:45 2018 +0200| [c5e4677bf7d32c292daf94bada4cda91fe1e4279] | committer: Francois Cartegnie
demux: mp4: fix unwanted discontinuity refs new-mux.mp4 > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c5e4677bf7d32c292daf94bada4cda91fe1e4279 --- modules/demux/mp4/mp4.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c index 5cd94c4bb0..d76328ffc7 100644 --- a/modules/demux/mp4/mp4.c +++ b/modules/demux/mp4/mp4.c @@ -1531,6 +1531,7 @@ static int Seek( demux_t *p_demux, vlc_tick_t i_date, bool b_accurate ) for( i_track = 0; i_track < p_sys->i_tracks; i_track++ ) { mp4_track_t *tk = &p_sys->track[i_track]; + tk->i_next_block_flags |= BLOCK_FLAG_DISCONTINUITY; if( tk->fmt.i_cat == VIDEO_ES ) continue; MP4_TrackSeek( p_demux, tk, i_start ); @@ -3675,8 +3676,6 @@ static int MP4_TrackSeek( demux_t *p_demux, mp4_track_t *p_track, if( !TrackGotoChunkSample( p_demux, p_track, i_chunk, i_sample ) ) p_track->b_selected = true; - p_track->i_next_block_flags |= BLOCK_FLAG_DISCONTINUITY; - return p_track->b_selected ? VLC_SUCCESS : VLC_EGENERIC; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
