vlc | branch: master | Alexandre Janniaux <[email protected]> | Fri Jan 22 
10:25:33 2021 +0100| [acf6f15ccee7f443a3771ea94be9bac582ffe007] | committer: 
Alexandre Janniaux

lib: media_player: remove special android case

OpenGL callbacks can now work with mediacodec hardware acceleration
without the need for Android window.

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

 lib/media_player.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/lib/media_player.c b/lib/media_player.c
index 58dfbc39fb..9341c49a68 100644
--- a/lib/media_player.c
+++ b/lib/media_player.c
@@ -1036,12 +1036,7 @@ bool 
libvlc_video_set_output_callbacks(libvlc_media_player_t *mp,
                                        void *opaque)
 {
     static_assert(libvlc_video_engine_disable == 0, "No engine set must 
default to 0");
-#ifdef __ANDROID__
-    //use the default android window
-    var_SetString( mp, "window", "");
-#else
     var_SetString( mp, "window", "wextern");
-#endif
 
     if( engine == libvlc_video_engine_gles2 )
     {

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to