From 19026f3202fbacb8ddd89b13d358ee64ce7f4929 Mon Sep 17 00:00:00 2001 From: Ukn Unknown <4031821+uknunknown@users.noreply.github.com> Date: Fri, 6 Jun 2025 10:43:20 -0700 Subject: [PATCH] remove coded_width and coded_height from encoding according to AVCodecContext documentation this is only used for decoding, oavctx is used for encoding --- src/transcoding/transcode/video.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/transcoding/transcode/video.c b/src/transcoding/transcode/video.c index fbce82b77..37edc4c25 100644 --- a/src/transcoding/transcode/video.c +++ b/src/transcoding/transcode/video.c @@ -224,8 +224,6 @@ tvh_video_context_open_encoder(TVHContext *self, AVDictionary **opts) } #if ENABLE_HWACCELS - self->oavctx->coded_width = self->oavctx->width; - self->oavctx->coded_height = self->oavctx->height; #if ENABLE_FFMPEG4_TRANSCODING // hwaccel is the user input for Hardware acceleration from Codec parameteres int hwaccel = -1; -- 2.47.3