diff options
author | phintuka <phintuka> | 2007-09-30 16:52:18 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2007-09-30 16:52:18 +0000 |
commit | a87ba55fe98134122926f12e25654b4ee0d25bd1 (patch) | |
tree | 29633e5aae0200e8883744b274637edb74f1c86c /config.c | |
parent | 15e70fb28e0964a5c55a27b6f989997da8e282ef (diff) | |
download | xineliboutput-a87ba55fe98134122926f12e25654b4ee0d25bd1.tar.gz xineliboutput-a87ba55fe98134122926f12e25654b4ee0d25bd1.tar.bz2 |
Setup option to limit trick speed
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 4 |
1 files changed, 3 insertions, 1 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.46 2007-09-17 17:56:26 phelin Exp $ + * $Id: config.c,v 1.47 2007-09-30 16:52:18 phintuka Exp $ * */ @@ -489,6 +489,7 @@ config_t::config_t() { #else ibp_trickspeed = 0; #endif + max_trickspeed = 12; overscan = 0; hue = -1; saturation = -1; @@ -712,6 +713,7 @@ bool config_t::SetupParse(const char *Name, const char *Value) else if (!strcasecmp(Name, "Video.Brightness")) brightness = atoi(Value); else if (!strcasecmp(Name, "Video.Overscan")) overscan = atoi(Value); else if (!strcasecmp(Name, "Video.IBPTrickSpeed")) ibp_trickspeed = atoi(Value); + else if (!strcasecmp(Name, "Video.MaxTrickSpeed")) max_trickspeed = atoi(Value); else if (!strcasecmp(Name, "Post.pp.Enable")) ffmpeg_pp = atoi(Value); else if (!strcasecmp(Name, "Post.pp.Quality")) ffmpeg_pp_quality = atoi(Value); |