genode/repos/qt4/src/app/qt_avplay
Norman Feske 0ed68a56b7 Use signals for delivering input events
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
2014-06-06 14:54:07 +02:00
..
README Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
avplay_policy.h Use signals for delivering input events 2014-06-06 14:54:07 +02:00
control_bar.cpp Use signals for delivering input events 2014-06-06 14:54:07 +02:00
control_bar.h Use signals for delivering input events 2014-06-06 14:54:07 +02:00
filter_framebuffer_policy.h Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
framebuffer_root.h Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
framebuffer_session_component.cc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
framebuffer_session_component.h Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
main.cpp Use signals for delivering input events 2014-06-06 14:54:07 +02:00
main_window.cpp Use signals for delivering input events 2014-06-06 14:54:07 +02:00
main_window.h Use signals for delivering input events 2014-06-06 14:54:07 +02:00
qt_avplay.pro Use signals for delivering input events 2014-06-06 14:54:07 +02:00
style.qrc Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
style.qss Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
target.mk Use signals for delivering input events 2014-06-06 14:54:07 +02:00

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.