From 0a5e57be7c6c068fc73232af0a17b081bfce7cdd Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Sun, 5 Apr 2009 16:55:14 +0200 Subject: [PATCH] Qt: put H.264 loopfilter skipping in SPrefs. 1/ We have so much of those requests on the forum. 2/ It doesn't change any string. 3/ Change is self-contained. --- .../gui/qt4/components/simple_preferences.cpp | 1 + modules/gui/qt4/ui/sprefs_input.ui | 154 ++++++++++-------- 2 files changed, 85 insertions(+), 70 deletions(-) diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp index bc6dcab71e..6b7bb9085e 100644 --- a/modules/gui/qt4/components/simple_preferences.cpp +++ b/modules/gui/qt4/components/simple_preferences.cpp @@ -395,6 +395,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, #endif optionWidgets.append( ui.DVDDevice ); optionWidgets.append( ui.cachingCombo ); + CONFIG_GENERIC( "ffmpeg-skiploopfilter", IntegerList, ui.filterLabel, loopFilterBox ); /* Caching */ /* Add the things to the ComboBox */ diff --git a/modules/gui/qt4/ui/sprefs_input.ui b/modules/gui/qt4/ui/sprefs_input.ui index 342a9148dc..a48c85cc60 100644 --- a/modules/gui/qt4/ui/sprefs_input.ui +++ b/modules/gui/qt4/ui/sprefs_input.ui @@ -1,41 +1,42 @@ - + + Jean-Baptiste Kempf SPrefsInputAndCodecs - - + + 0 0 - 512 - 516 + 616 + 480 - + Form - + - - + + Disc Devices - - - - + + + + Default disc device - + DVDDevice - - + + - - - + + + Browse... @@ -44,134 +45,147 @@ - - + + Network - - - - + + + + Server default port - + UDPPort - - - + + + Qt::AlignRight - + 1 - + 65535 - + 1234 - - - + + + HTTP proxy - + proxy - - + + - - + + Caching - + - - + + Default caching level - + cachingCombo - + - - + + Codecs / Muxers - - - - + + + + Post-Processing quality - + PostProcLevel - - - + + + Qt::AlignRight - + 1 - + 65535 - + 6 - - - + + + Repair AVI files - + AviRepair - - + + - - - + + + Use system codecs if available (better quality) - - - + + + Use RTP over RTSP (TCP) + + + + Skip the loop filter for H.264 decoding + + + loopFilterBox + + + + + + -- 2.39.2