diff options
author | Reinhard Nißl <rnissl@gmx.de> | 2009-06-11 00:39:30 +0200 |
---|---|---|
committer | Reinhard Nißl <rnissl@gmx.de> | 2009-06-11 00:39:30 +0200 |
commit | 238ba1caecd660647b04a3bff862c9df1f0319aa (patch) | |
tree | b374706f64119a355aec0e426151315204cbceb5 /src/xine-engine/xine_interface.c | |
parent | c88576e64e9a107d2e5675e0178aba62179e9b7f (diff) | |
download | xine-lib-238ba1caecd660647b04a3bff862c9df1f0319aa.tar.gz xine-lib-238ba1caecd660647b04a3bff862c9df1f0319aa.tar.bz2 |
Provide framework to define a video output area within the OSD area.
The supplied functions and constants allow to define a video output area
(called video window) within the OSD area to show for example a small
preview of the current channel in the top right corner while zapping
through the channel list displayed as OSD.
A VDPAU enabled xine-lib implements VO_CAP_VIDEO_WINDOW_OVERLAY already.
Diffstat (limited to 'src/xine-engine/xine_interface.c')
-rw-r--r-- | src/xine-engine/xine_interface.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xine-engine/xine_interface.c b/src/xine-engine/xine_interface.c index a2015bb06..7c0d85c59 100644 --- a/src/xine-engine/xine_interface.c +++ b/src/xine-engine/xine_interface.c @@ -858,6 +858,10 @@ void xine_osd_set_extent(xine_osd_t *this, int extent_width, int extent_height) this->osd.renderer->set_extent(&this->osd, extent_width, extent_height); } +void xine_osd_set_video_window(xine_osd_t *this, int window_x, int window_y, int window_width, int window_height) { + this->osd.renderer->set_video_window(&this->osd, window_x, window_y, window_width, window_height); +} + const char *const *xine_post_list_inputs(xine_post_t *this_gen) { post_plugin_t *this = (post_plugin_t *)this_gen; |