Skip to content

Commit

Permalink
avcodec: fix orientation overridden to 0
Browse files Browse the repository at this point in the history
This commit fixes a regression introduced by
adf9ce6
  • Loading branch information
tguillem committed Nov 13, 2015
1 parent 0809eab commit 24296b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/codec/avcodec/video.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 24296b4

Please sign in to comment.