06fdc7b897
This patch implements 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="..."/> (may appear multiple times) -> name of a framebuffer filter service to filter the video output Fixes #222.
33 lines
460 B
Plaintext
33 lines
460 B
Plaintext
Main_window {
|
|
max-width: 640px;
|
|
max-height: 512px;
|
|
}
|
|
|
|
Play_pause_button, Stop_button {
|
|
width: 32px;
|
|
height: 32px;
|
|
}
|
|
|
|
Play_pause_button#play {
|
|
border-image: url(:player_pause.png);
|
|
}
|
|
|
|
|
|
Play_pause_button#pause {
|
|
border-image: url(:player_play.png);
|
|
}
|
|
|
|
|
|
Stop_button {
|
|
border-image: url(:player_stop.png);
|
|
}
|
|
|
|
Volume_label {
|
|
background-image: url(:volume.png);
|
|
min-width: 16px;
|
|
max-width: 32px;
|
|
min-height: 16px;
|
|
max-height: 32px;
|
|
margin-right: 5px;
|
|
}
|