vf_yadif: actually set PTS for output frames

The original frame PTS was used instead. Oops...
This commit is contained in:
wm4 2013-05-06 20:55:58 +02:00
parent b34338ac6f
commit ab776adece
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}