[vlc-devel] [PATCH 01/15] opengl: start the 360° display from the left part of the video

Rémi Denis-Courmont remi at remlab.net
Sat Nov 5 07:29:38 CET 2016


Le perjantaina 4. marraskuuta 2016, 18.08.44 EET Steve Lhomme a écrit :
> ---
>  modules/video_output/opengl.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/modules/video_output/opengl.c b/modules/video_output/opengl.c
> index 3369281..b79bb13 100644
> --- a/modules/video_output/opengl.c
> +++ b/modules/video_output/opengl.c
> @@ -694,6 +694,7 @@ vout_display_opengl_t
> *vout_display_opengl_New(video_format_t *fmt, {
>          vgl->f_teta = vgl->fmt.f_pose_roll_degrees / 180. * M_PI;
>          vgl->f_phi  = vgl->fmt.f_pose_yaw_degrees  / 180. * M_PI;
> +        vgl->f_teta -= M_PI/2;
>      }

This, and above code, is confusing double and single precision.

> 
>      /* */


-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list