mirror of https://github.com/mpv-player/mpv
vo_gpu_next: set frame duration if provided by VO
This commit is contained in:
parent
bd1ac498bb
commit
fe748e54f1
|
@ -903,6 +903,7 @@ static void draw_frame(struct vo *vo, struct vo_frame *frame)
|
|||
|
||||
pl_queue_push(p->queue, &(struct pl_source_frame) {
|
||||
.pts = mpi->pts,
|
||||
.duration = can_interpolate ? frame->approx_duration : 0,
|
||||
.frame_data = mpi,
|
||||
.map = map_frame,
|
||||
.unmap = unmap_frame,
|
||||
|
|
Loading…
Reference in New Issue