[vlc-devel] commit: [Qt] Add deinterlacing and AR in video tab in Simple Preferences. ( Jean-Baptiste Kempf )

git version control git at videolan.org
Wed Dec 17 20:49:49 CET 2008


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Dec 17 18:55:45 2008 +0100| [caafebf40fb84b2e03cb9cc4f94da9b64f581295] | committer: Jean-Baptiste Kempf 

[Qt] Add deinterlacing and AR in video tab in Simple Preferences.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=caafebf40fb84b2e03cb9cc4f94da9b64f581295
---

 modules/gui/qt4/components/simple_preferences.cpp |    3 ++
 modules/gui/qt4/ui/sprefs_video.ui                |   33 +++++++++++++++++++-
 2 files changed, 34 insertions(+), 2 deletions(-)

diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp
index b70d52f..67cf0c3 100644
--- a/modules/gui/qt4/components/simple_preferences.cpp
+++ b/modules/gui/qt4/components/simple_preferences.cpp
@@ -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 );
diff --git a/modules/gui/qt4/ui/sprefs_video.ui b/modules/gui/qt4/ui/sprefs_video.ui
index acaf483..03c2a94 100644
--- a/modules/gui/qt4/ui/sprefs_video.ui
+++ b/modules/gui/qt4/ui/sprefs_video.ui
@@ -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" >
@@ -145,6 +145,35 @@
     </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" >
       <string>_("Video snapshots")</string>




More information about the vlc-devel mailing list