gstreamer-android Digest, Vol 14, Issue 1

Enrique Ocaña González eocanha at igalia.com
Fri Aug 3 08:29:12 PDT 2012


On Viernes, 3 de Agosto de 2012 10:53:22 Anees Alappat escribió:

> I tried to play mpeg/mp4 files as an Application using eclipse environment
> by loading some of the libraries from Gstreamer. The main limitation is
> that it requires both audio sink(audioflinger.so) and video
> sink(surfaceflinger.so) to play the files and display it on the screen,
> When we tested it on the phone. we are able to hear mp4 audio perfectly but
> video is not displayed on screen. This is due to a permission error on
> video sink - surfaceflingersink.
> 08-01 16:11:31.335: W/ServiceManager(1542): Permission failure:
> android.permission.ACCESS_SURFACE_FLINGER from uid=10076 pid=15466
> 08-01 16:11:31.335: E/SurfaceFlinger(1542): Permission Denial: can't access
> SurfaceFlinger pid=15466, uid=10076
> 
> How to resolve this permission error?

You're making sure that the application is requesting the 
ACCESS_SURFACE_FLINGER permission in its AndroidManifest.xml, right?

-- 
Enrique Ocaña


More information about the gstreamer-android mailing list