aboutsummaryrefslogtreecommitdiffstats
path: root/src/tvtimeconf.c
diff options
context:
space:
mode:
authorvektor <devnull@localhost>2004-08-20 03:32:15 +0000
committervektor <devnull@localhost>2004-08-20 03:32:15 +0000
commitbb7a25a299be3ae59ff59d64dbac8d5da124cf9d (patch)
tree4f66919da9827229e7173eee46c9dfa1bf9374aa /src/tvtimeconf.c
parentbc68bb87ad50b3db05172b9972f24f13725c29a4 (diff)
19 Aug 2004 Billy Biggs <vektor@dumbterm.net>
* tvtime/src/station.h: Let the station store whether the list should default to PAL-BG or PAL-DK audio, and allow overriding this per channel. This fixes issues with the cx88 driver that cannot detect the audio norm of the input. * tvtime/src/station.c: Implementation. * tvtime/src/tvtimeconf.h: Don't store PAL-BG/DK audio as a global setting, let it be done per stationlist. * tvtime/src/tvtimeconf.c: No more PalDKMode setting. * tvtime/tvtime.c: No need to initialize the PAL-DK setting from the config file, let it be handled like the PAL/SECAM switch instead. * tvtime/src/utils.h: Add a new command for toggling PAL-BG/PAL-DK state per channel. * tvtime/src/utils.c: Definition of TOGGLE_CHANNEL_PAL_DK. * tvtime/src/commands.c: Handle the menu and settings for per-channel and global PAL-BG/PAL-DK settings. * tvtime/docs/tvtime-command.1: Document the two new commands, one for setting the global PAL-BG/DK option, the other per channel. * tvtime/docs/html/usage.html: Also document them on the website. * tvtime/ChangeLog: Note this in the ChangeLog.
Diffstat (limited to 'src/tvtimeconf.c')
-rw-r--r--src/tvtimeconf.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/tvtimeconf.c b/src/tvtimeconf.c
index e9ec7ca..db8b50f 100644
--- a/src/tvtimeconf.c
+++ b/src/tvtimeconf.c
@@ -87,7 +87,6 @@ struct config_s
int inputnum;
char *v4ldev;
char *norm;
- int dkmode;
char *freq;
char *ssdir;
char *timeformat;
@@ -371,11 +370,6 @@ static void parse_option( config_t *ct, xmlNodePtr node )
if( ct->mixerdev ) free( ct->mixerdev );
ct->mixerdev = strdup( curval );
}
-
- if( !xmlStrcasecmp( name, BAD_CAST "PalDKMode" ) ) {
- ct->dkmode = atoi( curval );
- }
-
}
if( name ) xmlFree( name );
@@ -715,7 +709,6 @@ config_t *config_new( void )
ct->inputnum = 0;
ct->v4ldev = strdup( "/dev/video0" );
ct->norm = strdup( "ntsc" );
- ct->dkmode = 0;
ct->freq = strdup( "us-cable" );
temp_dirname = getenv( "HOME" );
if( temp_dirname ) {
@@ -1568,11 +1561,6 @@ int config_get_mirror( config_t *ct )
return ct->mirror;
}
-int config_get_pal_audio_mode( config_t *ct )
-{
- return ct->dkmode;
-}
-
int config_get_audio_boost( config_t *ct )
{
return ct->boost;

Privacy Policy