diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-05-20 14:29:33 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-20 14:29:33 +0400 |
commit | bf3dce6b593826f40dd423a74b44f08bf70cd757 (patch) | |
tree | e986f12dd2ae433e17a63e7b83cd5014fa558f63 /ffmpeg.c | |
parent | 13c254a216497dc4be4b7bc983f9903b3192329f (diff) |
ffmpeg: change AVFMT_RAWPICTURE pts to reduce diff to qatar
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1991,7 +1991,7 @@ duplicate_frame: enc->coded_frame->top_field_first = in_picture->top_field_first; pkt.data = (uint8_t *)in_picture; pkt.size = sizeof(AVPicture); - pkt.pts = av_rescale_q(ost->sync_opts, enc->time_base, ost->st->time_base); + pkt.pts = av_rescale_q(in_picture->pts, enc->time_base, ost->st->time_base); pkt.flags |= AV_PKT_FLAG_KEY; write_frame(s, &pkt, ost); |