Index: /trunk/src/VBox/Main/src-client/VideoRec.cpp
===================================================================
--- /trunk/src/VBox/Main/src-client/VideoRec.cpp	(revision 65223)
+++ /trunk/src/VBox/Main/src-client/VideoRec.cpp	(revision 65224)
@@ -671,15 +671,15 @@
         pos = options.parseKeyValue(key, value, pos);
 
-        if (key.compare("vc_quality", Utf8Str::CaseInsensitive))
-        {
-            if (value.compare("realtime", Utf8Str::CaseInsensitive))
+        if (key.compare("vc_quality", Utf8Str::CaseInsensitive) == 0)
+        {
+            if (value.compare("realtime", Utf8Str::CaseInsensitive) == 0)
             {
                 pStream->uEncoderDeadline = VPX_DL_REALTIME;
             }
-            else if (value.compare("good", Utf8Str::CaseInsensitive))
+            else if (value.compare("good", Utf8Str::CaseInsensitive) == 0)
             {
                 pStream->uEncoderDeadline = 1000000 / uFps;
             }
-            else if (value.compare("best", Utf8Str::CaseInsensitive))
+            else if (value.compare("best", Utf8Str::CaseInsensitive) == 0)
             {
                 pStream->uEncoderDeadline = VPX_DL_BEST_QUALITY;
@@ -691,8 +691,8 @@
             }
         }
-        if (key.compare("vc_enabled", Utf8Str::CaseInsensitive))
+        if (key.compare("vc_enabled", Utf8Str::CaseInsensitive) == 0)
         {
 #ifdef VBOX_WITH_AUDIO_VIDEOREC
-            if (value.compare("false", Utf8Str::CaseInsensitive)) /* Disable audio. */
+            if (value.compare("false", Utf8Str::CaseInsensitive) == 0) /* Disable audio. */
             {
                 enmMode = WebMWriter::Mode_Audio;
@@ -701,5 +701,5 @@
 #endif
         }
-        if (key.compare("ac_enabled", Utf8Str::CaseInsensitive))
+        if (key.compare("ac_enabled", Utf8Str::CaseInsensitive) == 0)
         {
 #ifdef VBOX_WITH_AUDIO_VIDEOREC
