[vlc-commits] lib: media_player: remove special android case
    Alexandre Janniaux 
    git at videolan.org
       
    Mon Jan 25 11:37:29 UTC 2021
    
    
  
vlc | branch: master | Alexandre Janniaux <ajanni at videolabs.io> | 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 )
     {
    
    
More information about the vlc-commits
mailing list