]> git.sesse.net Git - vlc/commitdiff
[Qt] Add deinterlacing and AR in video tab in Simple Preferences.
authorJean-Baptiste Kempf <jb@videolan.org>
Wed, 17 Dec 2008 17:55:45 +0000 (18:55 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Wed, 17 Dec 2008 19:49:10 +0000 (20:49 +0100)
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/ui/sprefs_video.ui

index b70d52fa55ebb520c3746dc565b74e8874f9888d..67cf0c34df28b20fac50d5a1056e19113d64a753 100644 (file)
@@ -199,6 +199,9 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
             ui.hwYUVBox->setVisible( false );
 #endif
 
+            CONFIG_GENERIC( "deinterlace-mode", StringList, NULL, deinterlaceBox );
+            CONFIG_GENERIC( "aspect-ratio", String, NULL, arLine );
+
             CONFIG_GENERIC_FILE( "snapshot-path", Directory, NULL,
                                  ui.snapshotsDirectory, ui.snapshotsDirectoryBrowse );
             CONFIG_GENERIC( "snapshot-prefix", String, NULL, snapshotsPrefix );
index acaf48372a6e56bfeeb75d1f17db13cd2224096d..03c2a941ab04704cdbae83a06f0c32f6c440f910 100644 (file)
@@ -6,8 +6,8 @@
    <rect>
     <x>0</x>
     <y>0</y>
-    <width>482</width>
-    <height>516</height>
+    <width>647</width>
+    <height>682</height>
    </rect>
   </property>
   <property name="windowTitle" >
      </layout>
     </widget>
    </item>
+   <item>
+    <widget class="QGroupBox" name="groupBox_2" >
+     <property name="title" >
+      <string>_("Video")</string>
+     </property>
+     <layout class="QGridLayout" name="gridLayout" >
+      <item row="0" column="1" >
+       <widget class="QComboBox" name="deinterlaceBox" />
+      </item>
+      <item row="0" column="0" >
+       <widget class="QLabel" name="label_6" >
+        <property name="text" >
+         <string>_("Deinterlacing Mode")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="0" >
+       <widget class="QLabel" name="label_7" >
+        <property name="text" >
+         <string>_("Force Aspect Ratio")</string>
+        </property>
+       </widget>
+      </item>
+      <item row="1" column="1" >
+       <widget class="QLineEdit" name="arLine" />
+      </item>
+     </layout>
+    </widget>
+   </item>
    <item>
     <widget class="QGroupBox" name="groupBox" >
      <property name="title" >