diff options
-rw-r--r-- | src/video_out/video_out_fb.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/video_out/video_out_fb.c b/src/video_out/video_out_fb.c index bba1e0b8b..bcbc8237f 100644 --- a/src/video_out/video_out_fb.c +++ b/src/video_out/video_out_fb.c @@ -984,7 +984,9 @@ static vo_driver_t *fb_open_plugin(video_driver_class_t *class_gen, if (!set_fb_palette (this->fd, &this->fb_var)) { xprintf(this->xine, XINE_VERBOSITY_LOG, "video_out_fb: set_fb_palette() failed: %s\n", strerror(errno)); - goto error; + if (this->fb_var.bits_per_pixel < 24) { + goto error; + } } this->xine = class->xine; |