From ab776adeceb4b9b6ce7adde5a857ffc1e4b2c4ae Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 6 May 2013 20:55:58 +0200 Subject: vf_yadif: actually set PTS for output frames The original frame PTS was used instead. Oops... --- video/filter/vf_yadif.c | 1 + 1 file changed, 1 insertion(+) (limited to 'video') 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; } -- cgit v1.2.3