diff options
| author | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-12-27 18:24:55 +0000 |
|---|---|---|
| committer | Darren Salt <linux@youmustbejoking.demon.co.uk> | 2007-12-27 18:24:55 +0000 |
| commit | 1ea97db5f08e85e7a9da249e2061b33b93dc8e79 (patch) | |
| tree | f6794d8e6a010fd6074456defefaf26f3435093c /src/video_out/video_out_xcbshm.c | |
| parent | d72c009401632028813067c3d3e3d128a2b86845 (diff) | |
| download | xine-lib-1ea97db5f08e85e7a9da249e2061b33b93dc8e79.tar.gz xine-lib-1ea97db5f08e85e7a9da249e2061b33b93dc8e79.tar.bz2 | |
Add VO_PROP_OUTPUT_* to some other video output drivers (where trivial).
Diffstat (limited to 'src/video_out/video_out_xcbshm.c')
| -rw-r--r-- | src/video_out/video_out_xcbshm.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/video_out/video_out_xcbshm.c b/src/video_out/video_out_xcbshm.c index 725889d62..c9b83bb24 100644 --- a/src/video_out/video_out_xcbshm.c +++ b/src/video_out/video_out_xcbshm.c @@ -732,6 +732,14 @@ static int xshm_get_property (vo_driver_t *this_gen, int property) { return this->sc.gui_width; case VO_PROP_WINDOW_HEIGHT: return this->sc.gui_height; + case VO_PROP_OUTPUT_WIDTH: + return this->cur_frame->sc.output_width; + case VO_PROP_OUTPUT_HEIGHT: + return this->cur_frame->sc.output_height; + case VO_PROP_OUTPUT_XOFFSET: + return this->cur_frame->sc.output_xoffset; + case VO_PROP_OUTPUT_YOFFSET: + return this->cur_frame->sc.output_yoffset; default: xprintf(this->xine, XINE_VERBOSITY_DEBUG, "video_out_xcbshm: tried to get unsupported property %d\n", property); |
