[vlc-devel] [PATCH] [WIP] mediacodec: implementation of MediaCodec direct rendering based on the work by Martin Storsjö.
    Adrien Maglo 
    magsoft at videolan.org
       
    Thu Nov  7 14:41:19 CET 2013
    
    
  
Le 06/11/2013 11:59, Felix Abecassis a écrit :
> - In the decoder we need to configure MediaCodec with a Surface object, currently we are waiting using msleep until the Surface object is created.
I think this should be fixed by one of the last patches I sent on 
android@ since I had the same issue with my OpenGL ES 2 vout. Basically 
with the patch entitled "JNI vout: wait for the surface to be attached 
so as to return a valid surface to the vout", 
jni_LockAndGetAndroidJavaSurface() blocks until a valid surface can be 
returned. It may not be the best solution but I have no other idea.
Best regards,
-- 
MagSoft
    
    
More information about the vlc-devel
mailing list