[vlc-devel] [PATCH] avcodec: fix flag b_multiview_left_eye

Steve Lhomme robux4 at ycbcr.xyz
Thu Apr 26 11:42:13 CEST 2018


Merged. Thanks!


Le 26/04/2018 à 10:50, Zhao Zhili a écrit :
> ---
>   modules/codec/avcodec/video.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
> index 27cb05a..a1c22c3 100644
> --- a/modules/codec/avcodec/video.c
> +++ b/modules/codec/avcodec/video.c
> @@ -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



More information about the vlc-devel mailing list