[vlc-devel] [PATCH] vout: add an OpenGL ES 2.0 vout display module for Android.

Felix Abecassis felix.abecassis at gmail.com
Tue Jan 7 19:19:46 CET 2014


2014/1/7 Rémi Denis-Courmont <remi at remlab.net>:
>
> Uh? Obviously events generated by the windowing system from outside VLC are
> sent by the windowing system *to* the display plugin or window plugin, and
> from the plugin to the core, not the other way around. I don't see how that
> would make any sense.

I'm not sure I understand what you mean when you say the event is
passed from the plugin to the "core". Let me describe the process from
my understanding and tell me if it is flawed or if we don't have the
same vocabulary.

In this patch the Manage function from the display plugin pulls events
from the Java code using the JNI, the event is passed to the core
using vout_display_SendEvent*().
This event is handled by the core in VoutDisplayEvent() and afterwards
it is passed again to the display plugin using vout_display_Control()
(from vout_ManageDisplay).
The Control function of the display plugin then passes the event to
the window plugin using vout_window_Set*().

-- 
Félix Abecassis
http://felix.abecassis.me



More information about the vlc-devel mailing list