We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0abee08 commit 2fef7fbCopy full SHA for 2fef7fb
1 file changed
3_transcoding.c
@@ -92,6 +92,7 @@ int prepare_video_encoder(StreamingContext *sc, AVCodecContext *decoder_ctx, AVR
92
93
sc->video_avcc->height = decoder_ctx->height;
94
sc->video_avcc->width = decoder_ctx->width;
95
+ sc->video_avcc->sample_aspect_ratio = decoder_ctx->sample_aspect_ratio;
96
if (sc->video_avc->pix_fmts)
97
sc->video_avcc->pix_fmt = sc->video_avc->pix_fmts[0];
98
else
0 commit comments