diff options
author | Claudio Ciccani <klan@users.sf.net> | 2007-11-11 14:52:34 +0100 |
---|---|---|
committer | Claudio Ciccani <klan@users.sf.net> | 2007-11-11 14:52:34 +0100 |
commit | 6a5bcc15286d28e17c52783caf1d5d2b677479dd (patch) | |
tree | 2b1244d67bf3ae2c7921d36d66204317cfba0c39 | |
parent | 6e8eab4d19635a07ff19be6fa494ab45b3861cbb (diff) | |
download | xine-lib-6a5bcc15286d28e17c52783caf1d5d2b677479dd.tar.gz xine-lib-6a5bcc15286d28e17c52783caf1d5d2b677479dd.tar.bz2 |
Reset the previous screen resolution after switching to fullscreen.
This is because, while in shared mode the default resolution is taken from directfb config,
in fullscreen mode the default resolution comes from fbdev configuration.
(transplanted from 2ce76206b5c10b6f9cfc55a9edb0d883bfb446a2)
--HG--
extra : transplant_source : %2C%E7b%06%B5%C1%0Bo%9C%FCU%A9%ED%B0%D8%83%BF%B4F%A2
-rw-r--r-- | src/video_out/video_out_directfb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_out/video_out_directfb.c b/src/video_out/video_out_directfb.c index efbb30f2d..ee52b7817 100644 --- a/src/video_out/video_out_directfb.c +++ b/src/video_out/video_out_directfb.c @@ -1663,13 +1663,13 @@ static DFBResult init_device (directfb_driver_t *this) { if (this->visual_type == XINE_VISUAL_TYPE_FB) { this->underlay->SetCooperativeLevel (this->underlay, DLSCL_EXCLUSIVE); - this->underlay->SetBackgroundMode( this->underlay, DLBM_DONTCARE); + this->underlay->SetConfiguration (this->underlay, &config); } } } else { /* playing to underlay, - * check if stretchblit is hardware accelerated. */ + * check whether stretchblit is hardware accelerated. */ IDirectFBSurface *temp; DFBSurfaceDescription dsc; DFBAccelerationMask mask = DFXL_NONE; |