Commit 24296b4c authored by Thomas Guillem's avatar Thomas Guillem

avcodec: fix orientation overridden to 0

This commit fixes a regression introduced by
adf9ce6d
parent 0809eab8
......@@ -208,6 +208,7 @@ static int lavc_UpdateVideoFormat(decoder_t *dec, AVCodecContext *ctx,
es_format_Clean(&dec->fmt_out);
es_format_Init(&dec->fmt_out, VIDEO_ES, fmt_out.i_chroma);
dec->fmt_out.video = fmt_out;
dec->fmt_out.video.orientation = dec->fmt_in.video.orientation;;
return decoder_UpdateVideoFormat(dec);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment