vo_gpu_next: set frame duration if provided by VO

This commit is contained in:
Kacper Michajłow 2023-11-14 09:56:05 +01:00 committed by Dudemanguy
parent bd1ac498bb
commit fe748e54f1
1 changed files with 1 additions and 0 deletions

View File

@ -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,