[vlc-commits] vout: android: can't handle projection

Thomas Guillem git at videolan.org
Mon Nov 28 16:37:47 CET 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Nov 24 16:17:39 2016 +0100| [e92e785b0138336db0b07da8dec9f05bf4b5f7c3] | committer: Thomas Guillem

vout: android: can't handle projection

use androidgl instead

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

 modules/video_output/android/display.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/video_output/android/display.c b/modules/video_output/android/display.c
index 947a5b9..9390a4d 100644
--- a/modules/video_output/android/display.c
+++ b/modules/video_output/android/display.c
@@ -648,6 +648,9 @@ static int Open(vlc_object_t *p_this)
     vout_display_sys_t *sys;
     video_format_t sub_fmt;
 
+    if (vd->fmt.projection_mode != PROJECTION_MODE_RECTANGULAR)
+        return VLC_EGENERIC;
+
     vout_window_t *embed =
         vout_display_NewWindow(vd, VOUT_WINDOW_TYPE_ANDROID_NATIVE);
 



More information about the vlc-commits mailing list