Index: /trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp	(revision 46620)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.cpp	(revision 46621)
@@ -262,5 +262,7 @@
             if (m_cache.base().m_fVideoCaptureEnabled)
             {
-                /* All we can do is to *disable* it: */
+                /* We can still save the *screens* option: */
+                m_machine.SetVideoCaptureScreens(displayData.m_screens);
+                /* Finally we should *disable* Video Capture if necessary: */
                 if (!displayData.m_fVideoCaptureEnabled)
                     m_machine.SetVideoCaptureEnabled(displayData.m_fVideoCaptureEnabled);
@@ -535,6 +537,31 @@
      * 1. Machine is in 'offline' or 'saved' state and check-box is checked,
      * 2. Machine is in 'online' state, check-box is checked, and video recording is *disabled* currently. */
-    m_pContainerVideoCaptureOptions->setEnabled(((isMachineOffline() || isMachineSaved()) && m_pCheckboxVideoCapture->isChecked()) ||
-                                                (isMachineOnline()  && !m_cache.base().m_fVideoCaptureEnabled && m_pCheckboxVideoCapture->isChecked()));
+    bool fIsVideoCaptureOptionsEnabled = ((isMachineOffline() || isMachineSaved()) && m_pCheckboxVideoCapture->isChecked()) ||
+                                         (isMachineOnline() && !m_cache.base().m_fVideoCaptureEnabled && m_pCheckboxVideoCapture->isChecked());
+
+    /* Video Capture Screens option should be enabled only if:
+     * Machine is in *any* valid state and check-box is checked. */
+    bool fIsVideoCaptureScreenOptionEnabled = isMachineInValidMode() && m_pCheckboxVideoCapture->isChecked();
+
+    m_pLabelVideoCapturePath->setEnabled(fIsVideoCaptureOptionsEnabled);
+    m_pEditorVideoCapturePath->setEnabled(fIsVideoCaptureOptionsEnabled);
+
+    m_pLabelVideoCaptureSize->setEnabled(fIsVideoCaptureOptionsEnabled);
+    m_pComboVideoCaptureSize->setEnabled(fIsVideoCaptureOptionsEnabled);
+    m_pEditorVideoCaptureWidth->setEnabled(fIsVideoCaptureOptionsEnabled);
+    m_pEditorVideoCaptureHeight->setEnabled(fIsVideoCaptureOptionsEnabled);
+
+    m_pLabelVideoCaptureFrameRate->setEnabled(fIsVideoCaptureOptionsEnabled);
+    m_pContainerSliderVideoCaptureFrameRate->setEnabled(fIsVideoCaptureOptionsEnabled);
+    m_pEditorVideoCaptureFrameRate->setEnabled(fIsVideoCaptureOptionsEnabled);
+    m_pLabelVideoCaptureFrameRateUnits->setEnabled(fIsVideoCaptureOptionsEnabled);
+
+    m_pLabelVideoCaptureRate->setEnabled(fIsVideoCaptureOptionsEnabled);
+    m_pContainerSliderVideoCaptureQuality->setEnabled(fIsVideoCaptureOptionsEnabled);
+    m_pEditorVideoCaptureBitRate->setEnabled(fIsVideoCaptureOptionsEnabled);
+    m_pLabelVideoCaptureBitRateUnits->setEnabled(fIsVideoCaptureOptionsEnabled);
+
+    m_pLabelVideoCaptureScreens->setEnabled(fIsVideoCaptureScreenOptionEnabled);
+    m_pScrollerVideoCaptureScreens->setEnabled(fIsVideoCaptureScreenOptionEnabled);
 }
 
@@ -749,6 +776,6 @@
 
     /* Prepare quality combo-box: */
-    m_pSliderLayoutVideoCaptureQuality->setColumnStretch(1, 4);
-    m_pSliderLayoutVideoCaptureQuality->setColumnStretch(3, 5);
+    m_pContainerLayoutSliderVideoCaptureQuality->setColumnStretch(1, 4);
+    m_pContainerLayoutSliderVideoCaptureQuality->setColumnStretch(3, 5);
     m_pSliderVideoCaptureQuality->setMinimum(1);
     m_pSliderVideoCaptureQuality->setMaximum(10);
Index: /trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.ui
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.ui	(revision 46620)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/settings/machine/UIMachineSettingsDisplay.ui	(revision 46621)
@@ -477,38 +477,40 @@
              </item>
              <item row="2" column="1" rowspan="2">
-              <layout class="QGridLayout" name="m_pSliderLayoutVideoCaptureFrameRate">
-               <property name="spacing">
-                <number>0</number>
-               </property>
-               <item row="0" column="0" colspan="3">
-                <widget class="QIAdvancedSlider" name="m_pSliderVideoCaptureFrameRate">
-                 <property name="whatsThis">
-                  <string>This setting determines the maximum number of &lt;b>frames per second&lt;/b>. Frames with a higher frequency will be skipped. Reducing this value increses the number of skipped frames but reduces the file size.</string>
-                 </property>
-                 <property name="orientation">
-                  <enum>Qt::Horizontal</enum>
-                 </property>
-                </widget>
-               </item>
-               <item row="1" column="0">
-                <widget class="QLabel" name="m_pLabelVideoCaptureFrameRateMin"/>
-               </item>
-               <item row="1" column="1">
-                <spacer name="m_pStretchVideoCaptureFrameRate">
-                 <property name="orientation">
-                  <enum>Qt::Horizontal</enum>
-                 </property>
-                 <property name="sizeHint" stdset="0">
-                  <size>
-                   <width>0</width>
-                   <height>0</height>
-                  </size>
-                 </property>
-                </spacer>
-               </item>
-               <item row="1" column="2">
-                <widget class="QLabel" name="m_pLabelVideoCaptureFrameRateMax"/>
-               </item>
-              </layout>
+              <widget class="QWidget" name="m_pContainerSliderVideoCaptureFrameRate">
+               <layout class="QGridLayout" name="m_pContainerLayoutSliderVideoCaptureFrameRate">
+                <property name="spacing">
+                 <number>0</number>
+                </property>
+                <item row="0" column="0" colspan="3">
+                 <widget class="QIAdvancedSlider" name="m_pSliderVideoCaptureFrameRate">
+                  <property name="whatsThis">
+                   <string>This setting determines the maximum number of &lt;b>frames per second&lt;/b>. Frames with a higher frequency will be skipped. Reducing this value increses the number of skipped frames but reduces the file size.</string>
+                  </property>
+                  <property name="orientation">
+                   <enum>Qt::Horizontal</enum>
+                  </property>
+                 </widget>
+                </item>
+                <item row="1" column="0">
+                 <widget class="QLabel" name="m_pLabelVideoCaptureFrameRateMin"/>
+                </item>
+                <item row="1" column="1">
+                 <spacer name="m_pStretchVideoCaptureFrameRate">
+                  <property name="orientation">
+                   <enum>Qt::Horizontal</enum>
+                  </property>
+                  <property name="sizeHint" stdset="0">
+                   <size>
+                    <width>0</width>
+                    <height>0</height>
+                   </size>
+                  </property>
+                 </spacer>
+                </item>
+                <item row="1" column="2">
+                 <widget class="QLabel" name="m_pLabelVideoCaptureFrameRateMax"/>
+                </item>
+               </layout>
+              </widget>
              </item>
              <item row="2" column="2">
@@ -536,54 +538,56 @@
              </item>
              <item row="4" column="1" rowspan="2">
-              <layout class="QGridLayout" name="m_pSliderLayoutVideoCaptureQuality">
-               <property name="spacing">
-                <number>0</number>
-               </property>
-               <item row="0" column="0" colspan="5">
-                <widget class="QIAdvancedSlider" name="m_pSliderVideoCaptureQuality">
-                 <property name="whatsThis">
-                  <string>This setting determines the &lt;b>quality&lt;/b>. Increasing this value makes the video look better for the cost of an increased file size.</string>
-                 </property>
-                 <property name="orientation">
-                  <enum>Qt::Horizontal</enum>
-                 </property>
-                </widget>
-               </item>
-               <item row="1" column="0">
-                <widget class="QLabel" name="m_pLabelVideoCaptureQualityMin"/>
-               </item>
-               <item row="1" column="1">
-                <spacer name="m_pStretchVideoCaptureQualityLeft">
-                 <property name="orientation">
-                  <enum>Qt::Horizontal</enum>
-                 </property>
-                 <property name="sizeHint" stdset="0">
-                  <size>
-                   <width>0</width>
-                   <height>0</height>
-                  </size>
-                 </property>
-                </spacer>
-               </item>
-               <item row="1" column="2">
-                <widget class="QLabel" name="m_pLabelVideoCaptureQualityMed"/>
-               </item>
-               <item row="1" column="3">
-                <spacer name="m_pStretchVideoCaptureQualityRight">
-                 <property name="orientation">
-                  <enum>Qt::Horizontal</enum>
-                 </property>
-                 <property name="sizeHint" stdset="0">
-                  <size>
-                   <width>0</width>
-                   <height>0</height>
-                  </size>
-                 </property>
-                </spacer>
-               </item>
-               <item row="1" column="4">
-                <widget class="QLabel" name="m_pLabelVideoCaptureQualityMax"/>
-               </item>
-              </layout>
+              <widget class="QWidget" name="m_pContainerSliderVideoCaptureQuality">
+               <layout class="QGridLayout" name="m_pContainerLayoutSliderVideoCaptureQuality">
+                <property name="spacing">
+                 <number>0</number>
+                </property>
+                <item row="0" column="0" colspan="5">
+                 <widget class="QIAdvancedSlider" name="m_pSliderVideoCaptureQuality">
+                  <property name="whatsThis">
+                   <string>This setting determines the &lt;b>quality&lt;/b>. Increasing this value makes the video look better for the cost of an increased file size.</string>
+                  </property>
+                  <property name="orientation">
+                   <enum>Qt::Horizontal</enum>
+                  </property>
+                 </widget>
+                </item>
+                <item row="1" column="0">
+                 <widget class="QLabel" name="m_pLabelVideoCaptureQualityMin"/>
+                </item>
+                <item row="1" column="1">
+                 <spacer name="m_pStretchVideoCaptureQualityLeft">
+                  <property name="orientation">
+                   <enum>Qt::Horizontal</enum>
+                  </property>
+                  <property name="sizeHint" stdset="0">
+                   <size>
+                    <width>0</width>
+                    <height>0</height>
+                   </size>
+                  </property>
+                 </spacer>
+                </item>
+                <item row="1" column="2">
+                 <widget class="QLabel" name="m_pLabelVideoCaptureQualityMed"/>
+                </item>
+                <item row="1" column="3">
+                 <spacer name="m_pStretchVideoCaptureQualityRight">
+                  <property name="orientation">
+                   <enum>Qt::Horizontal</enum>
+                  </property>
+                  <property name="sizeHint" stdset="0">
+                   <size>
+                    <width>0</width>
+                    <height>0</height>
+                   </size>
+                  </property>
+                 </spacer>
+                </item>
+                <item row="1" column="4">
+                 <widget class="QLabel" name="m_pLabelVideoCaptureQualityMax"/>
+                </item>
+               </layout>
+              </widget>
              </item>
              <item row="4" column="2">
