[vlc-devel] [PATCH 06/15] vout iOS: handle VOUT_DISPLAY_CHANGE_VIEWPOINT events
Steve Lhomme
robux4 at videolabs.io
Fri Nov 4 18:08:49 CET 2016
---
modules/video_output/ios2.m | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/modules/video_output/ios2.m b/modules/video_output/ios2.m
index 797c615..9c11d77 100644
--- a/modules/video_output/ios2.m
+++ b/modules/video_output/ios2.m
@@ -425,6 +425,13 @@ static int Control(vout_display_t *vd, int query, va_list ap)
return VLC_SUCCESS;
}
+ case VOUT_DISPLAY_CHANGE_VIEWPOINT:
+ {
+ const vout_display_cfg_t *p_cfg = va_arg (ap, const vout_display_cfg_t *);
+ vout_display_opengl_SetViewpoint(sys->vgl, &p_cfg->viewpoint);
+ return VLC_SUCCESS;
+ }
+
case VOUT_DISPLAY_RESET_PICTURES:
vlc_assert_unreachable ();
default:
--
2.10.1
More information about the vlc-devel
mailing list