From 048c41a4661a6fffc5a4842390902493eea82168 Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Thu, 19 Jun 2008 03:00:43 +0100 Subject: Swap positions of "auto" and "old" in the v4l TV standards list. "Old" is still the default. --- src/input/input_v4l.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/input/input_v4l.c b/src/input/input_v4l.c index 365bce664..29ed9899b 100644 --- a/src/input/input_v4l.c +++ b/src/input/input_v4l.c @@ -97,8 +97,8 @@ static const resolution_t resolutions[] = { #define AUDIO_DEV "plughw:0,0" #endif -static char *tv_standard_names[] = { "OLD", "PAL", "NTSC", "SECAM", "AUTO", NULL }; -static int tv_standard_values[] = { -1, VIDEO_MODE_PAL, VIDEO_MODE_NTSC, VIDEO_MODE_SECAM, VIDEO_MODE_AUTO }; +static char *tv_standard_names[] = { "AUTO", "PAL", "NTSC", "SECAM", "OLD", NULL }; +static int tv_standard_values[] = { VIDEO_MODE_AUTO, VIDEO_MODE_PAL, VIDEO_MODE_NTSC, VIDEO_MODE_SECAM, -1 }; #if !defined(NDELAY) && defined(O_NDELAY) #define FNDELAY O_NDELAY @@ -1921,7 +1921,7 @@ static void *init_video_class (xine_t *xine, void *data) "to your Video4Linux video device."), 10, NULL, NULL); #endif - config->register_enum (config, "media.video4linux.tv_standard", 0, + config->register_enum (config, "media.video4linux.tv_standard", 4 /* old */, tv_standard_names, _("v4l TV standard"), _("Selects the TV standard of the input signals. " "Either: AUTO, PAL, NTSC or SECAM. "), 20, NULL, NULL); -- cgit v1.2.3