Commit a93fc49a authored by Laurent Aimar's avatar Laurent Aimar

* mp4: use ES_OUT_SET_NEXT_DISPLAY_TIME when doing a seek (avoid late

 frame).
parent c0ff0119
...@@ -2007,7 +2007,11 @@ static int MP4_TrackSeek( demux_t *p_demux, mp4_track_t *p_track, ...@@ -2007,7 +2007,11 @@ static int MP4_TrackSeek( demux_t *p_demux, mp4_track_t *p_track,
VLC_SUCCESS ) VLC_SUCCESS )
{ {
p_track->b_selected = VLC_TRUE; p_track->b_selected = VLC_TRUE;
es_out_Control( p_demux->out, ES_OUT_SET_NEXT_DISPLAY_TIME,
p_track->p_es, i_start );
} }
return( p_track->b_selected ? VLC_SUCCESS : VLC_EGENERIC ); return( p_track->b_selected ? VLC_SUCCESS : VLC_EGENERIC );
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment