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.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to