[vlc-commits] lib/video: clip viewpoint

Thomas Guillem git at videolan.org
Tue Jul 25 16:42:33 CEST 2017


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Jul 24 16:34:14 2017 +0200| [4de59ab8a064f71cad58896e1071d14adb5cbe68] | committer: Thomas Guillem

lib/video: clip viewpoint

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4de59ab8a064f71cad58896e1071d14adb5cbe68
---

 lib/video.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/video.c b/lib/video.c
index fbb99fbaf4..f6e16ba601 100644
--- a/lib/video.c
+++ b/lib/video.c
@@ -328,6 +328,8 @@ int libvlc_video_update_viewpoint( libvlc_media_player_t *p_mi,
     else
         p_mi->viewpoint = update;
 
+    vlc_viewpoint_clip( &p_mi->viewpoint );
+
     return 0;
 }
 



More information about the vlc-commits mailing list