diff options
-rw-r--r-- | config.c | 4 | ||||
-rw-r--r-- | config.h | 5 | ||||
-rw-r--r-- | xine_fbfe_frontend.c | 4 | ||||
-rw-r--r-- | xine_sxfe_frontend.c | 4 |
4 files changed, 12 insertions, 5 deletions
@@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: config.c,v 1.7 2006-08-22 03:45:34 phintuka Exp $ + * $Id: config.c,v 1.8 2006-08-25 03:55:05 phintuka Exp $ * */ @@ -217,6 +217,7 @@ config_t::config_t() { saturation = -1; contrast = -1; brightness = -1; + overscan = 0; strcpy(browse_files_dir, "/video"); strcpy(browse_music_dir, "/video"); @@ -377,6 +378,7 @@ bool config_t::SetupParse(const char *Name, const char *Value) else if (!strcasecmp(Name, "Video.Saturation")) saturation = atoi(Value); else if (!strcasecmp(Name, "Video.Contrast")) contrast = atoi(Value); else if (!strcasecmp(Name, "Video.Brightness")) brightness = atoi(Value); + else if (!strcasecmp(Name, "Video.Overscan")) overscan = atoi(Value); else if (!strcasecmp(Name, "BrowseFilesDir")) strcpy(browse_files_dir, Value); else if (!strcasecmp(Name, "BrowseMusicDir")) strcpy(browse_music_dir, Value); @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: config.h,v 1.6 2006-08-22 03:45:34 phintuka Exp $ + * $Id: config.h,v 1.7 2006-08-25 03:55:05 phintuka Exp $ * */ @@ -217,7 +217,8 @@ class config_t { int saturation; // 0...0xffff, -1 == off int contrast; // 0...0xffff, -1 == off int brightness; // 0...0xffff, -1 == off - + int overscan; // % + char browse_files_dir[4096]; char browse_music_dir[4096]; char browse_images_dir[4096]; diff --git a/xine_fbfe_frontend.c b/xine_fbfe_frontend.c index 5adf3477..68345bfb 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.6 2006-08-23 05:30:14 phintuka Exp $ + * $Id: xine_fbfe_frontend.c,v 1.7 2006-08-25 03:55:05 phintuka Exp $ * */ @@ -73,6 +73,7 @@ typedef struct fbfe_t { fb_visual_t vis; double display_ratio; + int overscan; int pes_buffers; int aspect; @@ -150,6 +151,7 @@ static int fbfe_display_open(frontend_t *this_gen, int width, int height, int fu this->cropping = 0; this->field_order = 0/*field_order ? 1 : 0*/; this->scale_video = scale_video; + this->overscan = 0; strcpy(this->modeline, modeline); this->display_ratio = 1.0; diff --git a/xine_sxfe_frontend.c b/xine_sxfe_frontend.c index d9088521..ca17efe9 100644 --- a/xine_sxfe_frontend.c +++ b/xine_sxfe_frontend.c @@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: xine_sxfe_frontend.c,v 1.10 2006-08-23 05:30:14 phintuka Exp $ + * $Id: xine_sxfe_frontend.c,v 1.11 2006-08-25 03:55:05 phintuka Exp $ * */ @@ -109,6 +109,7 @@ typedef struct sxfe_s { double display_ratio; + int overscan; /* frontend */ int playback_finished; @@ -372,6 +373,7 @@ static int sxfe_display_open(frontend_t *this_gen, int width, int height, int fu this->cropping = 0; this->field_order = field_order ? 1 : 0; this->scale_video = scale_video; + this->overscan = 0; strcpy(this->modeline, modeline); /* |