Commit ed3b2ecc authored by Zhao Zhili's avatar Zhao Zhili Committed by Steve Lhomme

avcodec: fix flag b_multiview_left_eye

Signed-off-by: Steve Lhomme's avatarSteve Lhomme <robux4@ycbcr.xyz>
parent 6974ce1f
......@@ -903,7 +903,7 @@ static int DecodeSidedata( decoder_t *p_dec, const AVFrame *frame, picture_t *p_
}
#if LIBAVUTIL_VERSION_CHECK( 56, 7, 0, 4, 100 )
p_pic->format.b_multiview_right_eye_first = stereo_data->flags & AV_STEREO3D_FLAG_INVERT;
p_pic->format.b_multiview_left_eye = stereo_data->flags & AV_STEREO3D_VIEW_LEFT;
p_pic->format.b_multiview_left_eye = (stereo_data->view == AV_STEREO3D_VIEW_LEFT);
p_dec->fmt_out.video.b_multiview_right_eye_first = p_pic->format.b_multiview_right_eye_first;
#endif
......
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