h264-encoder: Fix copy-pasta

pull/63/head
Andri Yngvason 2022-03-06 11:24:33 +00:00
parent aca09358ea
commit 9d8c956983
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ static int h264_encoder__init_codec_context(struct h264_encoder* self,
struct AVCodecContext* c = self->codec_ctx; struct AVCodecContext* c = self->codec_ctx;
c->width = self->width; c->width = self->width;
c->height = self->width; c->height = self->height;
c->time_base = self->timebase; c->time_base = self->timebase;
c->sample_aspect_ratio = self->sample_aspect_ratio; c->sample_aspect_ratio = self->sample_aspect_ratio;
c->pix_fmt = AV_PIX_FMT_VAAPI; c->pix_fmt = AV_PIX_FMT_VAAPI;