diff options
author | Anton Khirnov <anton@khirnov.net> | 2016-03-20 07:51:11 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2016-06-21 19:54:42 +0200 |
commit | beb62dac629603eb074a44c44389c230b5caac7c (patch) | |
tree | 19710471110c23126b14708b8ee0d998eeea9163 /avconv.c | |
parent | 32c8359093d1ff4f45ed19518b449b3ac3769d27 (diff) | |
download | ffmpeg-beb62dac629603eb074a44c44389c230b5caac7c.tar.gz |
Use AVFrame.pts instead of deprecated pkt_pts.
Diffstat (limited to 'avconv.c')
-rw-r--r-- | avconv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1279,7 +1279,7 @@ static int decode_video(InputStream *ist, AVPacket *pkt, int *got_output) } ist->hwaccel_retrieved_pix_fmt = decoded_frame->format; - decoded_frame->pts = guess_correct_pts(&ist->pts_ctx, decoded_frame->pkt_pts, + decoded_frame->pts = guess_correct_pts(&ist->pts_ctx, decoded_frame->pts, decoded_frame->pkt_dts); if (ist->st->sample_aspect_ratio.num) |