diff options
author | Reinhard Nißl <rnissl@gmx.de> | 2007-04-15 21:08:32 +0200 |
---|---|---|
committer | Reinhard Nißl <rnissl@gmx.de> | 2007-04-15 21:08:32 +0200 |
commit | 3b03ad66fd2d5a475938a28cbcd55ba0319204a9 (patch) | |
tree | 75340c4feedfb8422f6cc706c6c5af28b0ea6eeb /src/xine-engine/video_out.h | |
parent | ee7faf25388d4a2890bf3fa55288391cfe04851a (diff) | |
download | xine-lib-3b03ad66fd2d5a475938a28cbcd55ba0319204a9.tar.gz xine-lib-3b03ad66fd2d5a475938a28cbcd55ba0319204a9.tar.bz2 |
Make sleeps in video out loops interruptable for immediate OSD
redrawing.
The video out loop sleeps up to 20 ms (and the paused loop 20 ms)
which means that pending OSD events are delayed too from beeing
processed. When an OSD is used for example to scroll through a
list of VDR recordings, this delay may slow down scrolling
unnecessarily.
Especially when the OSD manager is able to render the OSD content
indepently from drawing a frame to screen, this change will allow
the fastest OSD update possible.
Diffstat (limited to 'src/xine-engine/video_out.h')
-rw-r--r-- | src/xine-engine/video_out.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/xine-engine/video_out.h b/src/xine-engine/video_out.h index 7b42c43ed..06e5eaaa9 100644 --- a/src/xine-engine/video_out.h +++ b/src/xine-engine/video_out.h @@ -205,6 +205,9 @@ struct xine_video_port_s { /* flush video_out fifo */ void (*flush) (xine_video_port_t *self); + /* trigger immediate drawing */ + void (*trigger_drawing) (xine_video_port_t *self); + /* Get/Set video property * * See VO_PROP_* bellow |