diff options
author | phintuka <phintuka> | 2008-06-19 20:39:57 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2008-06-19 20:39:57 +0000 |
commit | b6e3cf0e4f3fd5fc699acfbcc7000f2d96c1fc21 (patch) | |
tree | ce6e27326f4ca1a859876866446d25b2e6b49e57 | |
parent | 07e32d081a08e4a2d40a4b3e4e2fdfd1ff2ce0f5 (diff) | |
download | xineliboutput-b6e3cf0e4f3fd5fc699acfbcc7000f2d96c1fc21.tar.gz xineliboutput-b6e3cf0e4f3fd5fc699acfbcc7000f2d96c1fc21.tar.bz2 |
Comments
-rw-r--r-- | xine_fbfe_frontend.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xine_fbfe_frontend.c b/xine_fbfe_frontend.c index 0d1572cf..7cff168f 100644 --- a/xine_fbfe_frontend.c +++ b/xine_fbfe_frontend.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_fbfe_frontend.c,v 1.31 2008-06-19 20:36:46 phintuka Exp $ + * $Id: xine_fbfe_frontend.c,v 1.32 2008-06-19 20:39:57 phintuka Exp $ * */ @@ -176,15 +176,18 @@ static int fbfe_display_open(frontend_t *this_gen, int width, int height, int fu /*this->vmode_switch = modeswitch;*/ /*this->modeline = strdup(modeline ?: "");*/ + /* setup xine FB visual */ this->x.xine_visual_type = XINE_VISUAL_TYPE_FB; this->x.vis_fb.frame_output_cb = fe_frame_output_cb; this->x.vis_fb.user_data = this; + /* select framebuffer device ? */ if(video_port && !strncmp(video_port, "/dev/", 5)) this->x.video_port_name = strdup(video_port); else this->x.video_port_name = NULL; + /* set console to graphics mode */ #if defined(KDSETMODE) && defined(KD_GRAPHICS) if (isatty(STDIN_FILENO)) this->fd_tty = dup(STDIN_FILENO); |