From 9b01f66afa8f45deee945baab4dbbef542a6618c Mon Sep 17 00:00:00 2001 From: hashworks Date: Sat, 6 Jul 2024 01:43:08 +0200 Subject: [PATCH] ffmpeg Update: Replace deprecated frame->pkt_duration with duration in transcoder context --- src/projects/transcoder/transcoder_context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/projects/transcoder/transcoder_context.h b/src/projects/transcoder/transcoder_context.h index a34a635a9..a1e198e22 100644 --- a/src/projects/transcoder/transcoder_context.h +++ b/src/projects/transcoder/transcoder_context.h @@ -78,7 +78,7 @@ class MediaFrame if (_priv_data) { - _priv_data->pkt_duration = duration; + _priv_data->duration = duration; } }