diff options
author | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-05-14 13:34:27 +0000 |
---|---|---|
committer | Michael Roitzsch <mroi@users.sourceforge.net> | 2004-05-14 13:34:27 +0000 |
commit | bf2940602ca5487ea82ce81b170fe4a63faaa81a (patch) | |
tree | a2cd8db0b361219648cc2090054552a677649d6c /src | |
parent | 3a5674fde757f26f59784f7e50a3bf58da10ff20 (diff) | |
download | xine-lib-bf2940602ca5487ea82ce81b170fe4a63faaa81a.tar.gz xine-lib-bf2940602ca5487ea82ce81b170fe4a63faaa81a.tar.bz2 |
fix compiler warning and make new config entry's strings translateable
CVS patchset: 6537
CVS date: 2004/05/14 13:34:27
Diffstat (limited to 'src')
-rw-r--r-- | src/input/input_dvb.c | 37 |
1 files changed, 16 insertions, 21 deletions
diff --git a/src/input/input_dvb.c b/src/input/input_dvb.c index 41bbc9e27..a476a934f 100644 --- a/src/input/input_dvb.c +++ b/src/input/input_dvb.c @@ -925,7 +925,7 @@ static channel_t *load_channels (xine_t *xine, int *num_ch, fe_type_t fe_type) { /* allow center cutout zoom for dvb content */ static void -dvb_zoom_cb (input_plugin_t * this_gen, xine_cfg_entry_t * cfg) +dvb_zoom_cb (void *this_gen, xine_cfg_entry_t *cfg) { dvb_input_plugin_t *this = (dvb_input_plugin_t *) this_gen; @@ -934,16 +934,13 @@ dvb_zoom_cb (input_plugin_t * this_gen, xine_cfg_entry_t * cfg) if (!this) return; - if (this->zoom_ok) - { - this->stream->video_out->set_property (this->stream->video_out, VO_PROP_ZOOM_X, 133); - this->stream->video_out->set_property (this->stream->video_out, VO_PROP_ZOOM_Y, 133); - } - else - { - this->stream->video_out->set_property (this->stream->video_out, VO_PROP_ZOOM_X, 100); - this->stream->video_out->set_property (this->stream->video_out, VO_PROP_ZOOM_Y, 100); - } + if (this->zoom_ok) { + this->stream->video_out->set_property (this->stream->video_out, VO_PROP_ZOOM_X, 133); + this->stream->video_out->set_property (this->stream->video_out, VO_PROP_ZOOM_Y, 133); + } else { + this->stream->video_out->set_property (this->stream->video_out, VO_PROP_ZOOM_X, 100); + this->stream->video_out->set_property (this->stream->video_out, VO_PROP_ZOOM_Y, 100); + } } @@ -1200,11 +1197,10 @@ static int dvb_plugin_open (input_plugin_t *this_gen) { /* zoom for 4:3 in a 16:9 window */ config->register_bool (config, "input.dvbzoom", 0, - "Enable DVB 'center cutout' (zoom)?", - "This " - "will allow fullscreen " - "playback of 4:3 content " - "transmitted in a 16:9 frame", + _("use DVB 'center cutout' (zoom)"), + _("This will allow fullscreen " + "playback of 4:3 content " + "transmitted in a 16:9 frame."), 10, &dvb_zoom_cb, (void *) this); if (xine_config_lookup_entry (this->stream->xine, @@ -1214,11 +1210,10 @@ static int dvb_plugin_open (input_plugin_t *this_gen) { /* dislay channel name in top left of display */ config->register_bool (config, "input.dvbdisplaychan", 0, - "Enable DVB channel name by default?", - "This " - "will display current " - "channel name on OSD " - "MENU7 button will disable", + _("display DVB channel name"), + _("This will display the current " + "channel name in xine's on-screen-display. " + "Menu button 7 will disable this temporarily."), 10, NULL, NULL); if (xine_config_lookup_entry (this->stream->xine, |