Hello All,
             I am developing  video rendering application on android
2.2.  I was taking reference of android-gstreamer surfaceflingersink
developped into android1.6. I have modified code accordingly to make
it work. But when i run it it gives me surface flinger permission
access error.

             Now i have created surface at JAVA code and into JNI code
i am taking reference of created surface pass that pointer to native
renderer code. There i am extracting it as (Surface *). I have also
set SURFACE_TYPE_PUSH_BUFFERS means it doesn't own its buffer. As i
understand we need to provide it external buffer.

             So i have taken Isurafce instance to my application and
allocate buffer by MemoryHeap method of ISurface. But when i calling
registerbuffer routine it gives permission error of surface flinger.

               Here i am little bit confused , if i create  surface
with SURFACE_TYPE_PUSH_BUFFERS then how can we render external buffer
to that surface so i can see my video frame on surface.

                Is there any method available to render external
buffer ?

                Please correct me if i am wrong.

Thanks In Advance,
Tejas.

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to