summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-05-06 20:55:58 +0200
committerwm4 <wm4@nowhere>2013-05-06 23:11:11 +0200
commitab776adeceb4b9b6ce7adde5a857ffc1e4b2c4ae (patch)
treeb98664294a31abe246be189e39068db5b4e52f3a /video
parentb34338ac6f3d75c0aa9e85d72a428752db46d163 (diff)
downloadmpv-ab776adeceb4b9b6ce7adde5a857ffc1e4b2c4ae.tar.bz2
mpv-ab776adeceb4b9b6ce7adde5a857ffc1e4b2c4ae.tar.xz
vf_yadif: actually set PTS for output frames
The original frame PTS was used instead. Oops...
Diffstat (limited to 'video')
-rw-r--r--video/filter/vf_yadif.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/filter/vf_yadif.c b/video/filter/vf_yadif.c
index 39e45e7e19..01c3787048 100644
--- a/video/filter/vf_yadif.c
+++ b/video/filter/vf_yadif.c
@@ -459,6 +459,7 @@ static int continue_buffered_image(struct vf_instance *vf, struct mp_image *mpi)
filter(vf->priv, dmpi->planes, dmpi->stride, mpi->w, mpi->h, i ^ tff ^ 1, tff);
if (i < (vf->priv->mode & 1))
ret = 1; // more images to come
+ dmpi->pts = pts;
vf_add_output_frame(vf, dmpi);
break;
}