diff options
-rw-r--r-- | xine_fbfe_frontend.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/xine_fbfe_frontend.c b/xine_fbfe_frontend.c index 65bffc1d..379cbd45 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.9 2006-09-03 13:59:22 phintuka Exp $ + * $Id: xine_fbfe_frontend.c,v 1.10 2006-09-20 06:58:43 phintuka Exp $ * */ @@ -104,6 +104,9 @@ typedef struct fbfe_t { } fe_t; +#define IS_FBFE +static char *fbdev = NULL; + /* Common (non-X11/FB) frontend functions */ #include "xine_frontend.c" @@ -165,6 +168,10 @@ static int fbfe_display_open(frontend_t *this_gen, int width, int height, int fu this->update_display_size = fbfe_update_display_size; + if(video_port && *video_port && !strncmp(video_port, "/dev/", 5)) { + fbdev = strdup(video_port); + } + return 1; } |