0ed68a56b7
This patch changes both the Input::Session interface and the skeleton for the server-side implementation of this interface ('input/component.h'). The Input::Session interface offers a new 'sigh' function, which can be called be the client to register a signal handler. The signal handler gets notified on the arrival of new input. This alleviates the need to poll for input events at the client side. The server-side skeleton for implementing input services underwent a redesign to make it more modular and robust. I.e., there are no global functions needed at the server side and the event-queue enable/disable mechanism is implemented at a central place (in the root component) rather than inside each driver. Fixes #46 |
||
---|---|---|
.. | ||
README | ||
avplay_policy.h | ||
control_bar.cpp | ||
control_bar.h | ||
filter_framebuffer_policy.h | ||
framebuffer_root.h | ||
framebuffer_session_component.cc | ||
framebuffer_session_component.h | ||
main.cpp | ||
main_window.cpp | ||
main_window.h | ||
qt_avplay.pro | ||
style.qrc | ||
style.qss | ||
target.mk |
README
This directory contains a simple Qt-based media player which is actually a graphical user interface for the SDL-based 'avplay' media player from 'libav'. It starts 'avplay' as a child and shows its graphical output in a 'QNitpickerViewWidget'. The widgets for controlling the player state send the according keyboard and mouse input events to 'avplay'. The 'qt_avplay' player supports the following configuration options: :'<mediafile name="..."/>:' name of the media file to play :'<framebuffer_filter name="..." ram_quota="..."/>': This node contains the name of a framebuffer filter service to filter the video output. It may appear multiple times. If specified more than once, it is possible to build a post-processing pipeline for the video display where each processing stage is executed by a separate program.