Commit a27866b4 authored by michael's avatar michael

Use correct timestamp value for stream copy.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13963 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 2bdcfea5
...@@ -1339,7 +1339,7 @@ static int output_packet(AVInputStream *ist, int ist_index, ...@@ -1339,7 +1339,7 @@ static int output_packet(AVInputStream *ist, int ist_index,
opkt.pts= AV_NOPTS_VALUE; opkt.pts= AV_NOPTS_VALUE;
if (pkt->dts == AV_NOPTS_VALUE) if (pkt->dts == AV_NOPTS_VALUE)
opkt.dts = av_rescale_q(ist->next_pts, AV_TIME_BASE_Q, ost->st->time_base); opkt.dts = av_rescale_q(ist->pts, AV_TIME_BASE_Q, ost->st->time_base);
else else
opkt.dts = av_rescale_q(pkt->dts, ist->st->time_base, ost->st->time_base); opkt.dts = av_rescale_q(pkt->dts, ist->st->time_base, ost->st->time_base);
......
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