Commit 08207425 authored by Steve Lhomme's avatar Steve Lhomme Committed by Thomas Guillem
Browse files

opengl: start the 360° display from the left part of the video


Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
parent 5f09a262
...@@ -694,6 +694,7 @@ vout_display_opengl_t *vout_display_opengl_New(video_format_t *fmt, ...@@ -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. * (float) M_PI; vgl->f_teta = vgl->fmt.f_pose_roll_degrees / 180. * (float) M_PI;
vgl->f_phi = vgl->fmt.f_pose_yaw_degrees / 180. * (float) M_PI; vgl->f_phi = vgl->fmt.f_pose_yaw_degrees / 180. * (float) M_PI;
vgl->f_teta -= (float) M_PI/2;
} }
/* */ /* */
......
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