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_syncfb.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_syncfb.c')
-rw-r--r-- | src/video_out/video_out_syncfb.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/video_out/video_out_syncfb.c b/src/video_out/video_out_syncfb.c index 86be3422e..b1fadbd58 100644 --- a/src/video_out/video_out_syncfb.c +++ b/src/video_out/video_out_syncfb.c @@ -670,6 +670,18 @@ static int syncfb_get_property(vo_driver_t* this_gen, int property) case VO_PROP_WINDOW_HEIGHT: this->props[property].value = this->sc.gui_height; break; + case VO_PROP_OUTPUT_WIDTH: + this->props[property].value = this->sc.output_width; + break; + case VO_PROP_OUTPUT_HEIGHT: + this->props[property].value = this->sc.output_height; + break; + case VO_PROP_OUTPUT_XOFFSET: + this->props[property].value = this->sc.output_xoffset; + break; + case VO_PROP_OUTPUT_YOFFSET: + this->props[property].value = this->sc.output_yoffset; + break; } return this->props[property].value; |