From: Ukn Unknown <4031821+uknunknown@users.noreply.github.com> Date: Fri, 6 Jun 2025 17:43:20 +0000 (-0700) Subject: remove coded_width and coded_height from encoding X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=19026f3202fbacb8ddd89b13d358ee64ce7f4929;p=thirdparty%2Ftvheadend.git remove coded_width and coded_height from encoding according to AVCodecContext documentation this is only used for decoding, oavctx is used for encoding --- 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;