Fixes a bug discovered by Sjoerd Simons, thanks

Original commit message from CVS:
Fixes a bug discovered by Sjoerd Simons, thanks
This commit is contained in:
Ronald S. Bultje 2002-12-08 11:02:15 +00:00
parent 621e33f850
commit 3bc7e8a9c1
2 changed files with 2 additions and 2 deletions

2
common

@ -1 +1 @@
Subproject commit c73793f7022cbc8ffd39f9c0b0587078f47c0b06
Subproject commit 9d5642850b94f5bc21d565f8c900a0606fbb518f

View file

@ -309,7 +309,7 @@ gst_v4lelement_set_property (GObject *object,
v4lelement->mode = g_value_get_int(value);
if (GST_V4L_IS_OPEN(v4lelement))
{
if (!gst_v4l_set_audio(v4lelement, V4L_AUDIO_MODE, v4lelement->mute))
if (!gst_v4l_set_audio(v4lelement, V4L_AUDIO_MODE, v4lelement->mode))
return;
}
break;