mirror of https://github.com/mpv-player/mpv
vf_yadif: actually set PTS for output frames
The original frame PTS was used instead. Oops...
This commit is contained in:
parent
b34338ac6f
commit
ab776adece
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue