Commit d165a8d2 authored by michael's avatar michael

25_fix_problem_that_unsynced_with_ss_option.patch by (Calcium | calcium nurs or jp)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4076 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3d78f7fa
...@@ -1264,7 +1264,7 @@ static int output_packet(AVInputStream *ist, int ist_index, ...@@ -1264,7 +1264,7 @@ static int output_packet(AVInputStream *ist, int ist_index,
((double)ost->st->pts.val * ost->st->time_base.num / ost->st->time_base.den)); ((double)ost->st->pts.val * ost->st->time_base.num / ost->st->time_base.den));
#endif #endif
/* set the input output pts pairs */ /* set the input output pts pairs */
ost->sync_ipts = (double)(ist->pts + input_files_ts_offset[ist->file_index])/ AV_TIME_BASE; ost->sync_ipts = (double)(ist->pts + input_files_ts_offset[ist->file_index] - start_time)/ AV_TIME_BASE;
if (ost->encoding_needed) { if (ost->encoding_needed) {
switch(ost->st->codec.codec_type) { switch(ost->st->codec.codec_type) {
......
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