Commit 7c2c55ac authored by Adrien Maglo's avatar Adrien Maglo Committed by Thomas Guillem

codec: avcodec: keep the projection mode information from the demux

We need to propagate the projection mode set by the demux so to the
output-format. These changes also remove a stray semicolon due to the proximity
of the change (related to the pertinent one).
Signed-off-by: Thomas Guillem's avatarThomas Guillem <>
parent c3d17338
......@@ -289,7 +289,8 @@ static int lavc_UpdateVideoFormat(decoder_t *dec, AVCodecContext *ctx,
es_format_Init(&dec->fmt_out, VIDEO_ES, fmt_out.i_chroma);
dec-> = fmt_out;
dec-> = dec->;;
dec-> = dec->;
dec-> = dec->;
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