Commit 9f287311 authored by benoit's avatar benoit

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


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10405 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent b75d237d
...@@ -1564,6 +1564,7 @@ static void av_estimate_timings_from_pts(AVFormatContext *ic, offset_t old_offse ...@@ -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++){ for(i=0; i<ic->nb_streams; i++){
st= ic->streams[i]; st= ic->streams[i];
st->cur_dts= st->first_dts; st->cur_dts= st->first_dts;
st->last_IP_pts = AV_NOPTS_VALUE;
} }
} }
......
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