[vlc-commits] Revert "vout: gl: don't handle Android opaque fmt"

Thomas Guillem git at videolan.org
Mon Dec 19 17:24:43 CET 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Mon Dec 19 15:36:29 2016 +0100| [6e1e98b3aae6bf25f40704d267a60bf11a54b2bb] | committer: Thomas Guillem

Revert "vout: gl: don't handle Android opaque fmt"

This reverts commit 44e70121f9ba81fe7b3ae74fd96b798439f3b3e6.

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

 modules/video_output/opengl/display.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/modules/video_output/opengl/display.c b/modules/video_output/opengl/display.c
index 68418b3..62b6f6f 100644
--- a/modules/video_output/opengl/display.c
+++ b/modules/video_output/opengl/display.c
@@ -89,10 +89,6 @@ static int Control (vout_display_t *, int, va_list);
 static int Open (vlc_object_t *obj)
 {
     vout_display_t *vd = (vout_display_t *)obj;
-
-    if (vd->fmt.i_chroma == VLC_CODEC_ANDROID_OPAQUE)
-        return VLC_EGENERIC;
-
     vout_display_sys_t *sys = malloc (sizeof (*sys));
     if (unlikely(sys == NULL))
         return VLC_ENOMEM;



More information about the vlc-commits mailing list