summaryrefslogtreecommitdiff
path: root/libavfilter
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-03-20 07:51:11 +0100
committerAnton Khirnov <anton@khirnov.net>2016-06-21 19:54:42 +0200
commitbeb62dac629603eb074a44c44389c230b5caac7c (patch)
tree19710471110c23126b14708b8ee0d998eeea9163 /libavfilter
parent32c8359093d1ff4f45ed19518b449b3ac3769d27 (diff)
Use AVFrame.pts instead of deprecated pkt_pts.
Diffstat (limited to 'libavfilter')
-rw-r--r--libavfilter/vsrc_movie.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavfilter/vsrc_movie.c b/libavfilter/vsrc_movie.c
index 95ef4f1e9c..5989a59190 100644
--- a/libavfilter/vsrc_movie.c
+++ b/libavfilter/vsrc_movie.c
@@ -228,8 +228,6 @@ static int movie_get_frame(AVFilterLink *outlink)
avcodec_decode_video2(movie->codec_ctx, movie->frame, &frame_decoded, &pkt);
if (frame_decoded) {
- if (movie->frame->pkt_pts != AV_NOPTS_VALUE)
- movie->frame->pts = movie->frame->pkt_pts;
av_log(outlink->src, AV_LOG_TRACE,
"movie_get_frame(): file:'%s' pts:%"PRId64" time:%f aspect:%d/%d\n",
movie->file_name, movie->frame->pts,