[Bug 731204] androidmedia: Implement zerocopy rendering

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 2 05:07:42 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=731204

--- Comment #30 from Edward Hervey <bilboed at bilboed.com> ---
As mentionned on IRC, it would be best to *not* compile that small java
interface implementation in gst-plugins-bad.

Instead we should let the application take care of that java part.

1) Emit a message on the bus when the element needs a framelistener with a
given surfacetexture (and provide the surfacetexture)
2) Have a property on the element where the application tells it has created a
framelistener
2.1) If the application doesn't handle it synchronously, the plugin could
switch to the non-surface technique
3) Have an action signal on the element which the application JNI can call
whenever the framelistener callback gets called

void *user_function (GstElement *element, jobject surfacetexture);

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list