mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
Correct initial timestamp
Patch by Wolfram Gloger: [wmglo $ dent med uni-muenchen de] Original thread: [FFmpeg-devel] [PATCH] av_estimate_timings_from_pts corrupt timestamps date: 08/25/2007 09:51 PM Originally committed as revision 10405 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
5f757b856d
commit
cc5297e871
@ -1564,6 +1564,7 @@ static void av_estimate_timings_from_pts(AVFormatContext *ic, offset_t old_offse
|
||||
for(i=0; i<ic->nb_streams; i++){
|
||||
st= ic->streams[i];
|
||||
st->cur_dts= st->first_dts;
|
||||
st->last_IP_pts = AV_NOPTS_VALUE;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user