lib/video: clip viewpoint
authorThomas Guillem <thomas@gllm.fr>
Mon, 24 Jul 2017 14:34:14 +0000 (16:34 +0200)
committerThomas Guillem <thomas@gllm.fr>
Tue, 25 Jul 2017 14:40:51 +0000 (16:40 +0200)
lib/video.c

index fbb99fb..f6e16ba 100644 (file)
@@ -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;
 }