Commit 77ef67f7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

V4L2: put default audio-mode value in the value list

Otherwise Qt4 selects another value by default and fails.
parent ac657299
...@@ -252,12 +252,13 @@ static const int i_iomethod_list[] = ...@@ -252,12 +252,13 @@ static const int i_iomethod_list[] =
static const char *const psz_iomethod_list_text[] = static const char *const psz_iomethod_list_text[] =
{ N_("AUTO"), N_("READ"), N_("MMAP"), N_("USERPTR") }; { N_("AUTO"), N_("READ"), N_("MMAP"), N_("USERPTR") };
static const int i_tuner_audio_modes_list[] = static const int i_tuner_audio_modes_list[] = {
{ V4L2_TUNER_MODE_MONO, V4L2_TUNER_MODE_STEREO, -1, V4L2_TUNER_MODE_MONO, V4L2_TUNER_MODE_STEREO,
V4L2_TUNER_MODE_LANG1, V4L2_TUNER_MODE_LANG2, V4L2_TUNER_MODE_LANG1, V4L2_TUNER_MODE_LANG2,
V4L2_TUNER_MODE_SAP, V4L2_TUNER_MODE_LANG1_LANG2 }; V4L2_TUNER_MODE_SAP, V4L2_TUNER_MODE_LANG1_LANG2 };
static const char *const psz_tuner_audio_modes_list_text[] = static const char *const psz_tuner_audio_modes_list_text[] = {
{ N_( "Mono" ), N_("Unspecified"),
N_( "Mono" ),
N_( "Stereo" ), N_( "Stereo" ),
N_( "Primary language (Analog TV tuners only)" ), N_( "Primary language (Analog TV tuners only)" ),
N_( "Secondary language (Analog TV tuners only)" ), N_( "Secondary language (Analog TV tuners only)" ),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment