From cbc2709985f94cdd58e68ce4f73fe79670dda4fa Mon Sep 17 00:00:00 2001 From: Francois Cartegnie Date: Tue, 15 Sep 2009 18:05:09 +0200 Subject: [PATCH] Qt: Simple prefs Input/codec ui fixes Signed-off-by: Jean-Baptiste Kempf --- modules/demux/avi/avi.c | 5 +- .../gui/qt4/components/simple_preferences.cpp | 1 + modules/gui/qt4/ui/sprefs_input.ui | 271 ++++++++++++------ 3 files changed, 188 insertions(+), 89 deletions(-) diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c index 184109ed02..2d5de5c1de 100644 --- a/modules/demux/avi/avi.c +++ b/modules/demux/avi/avi.c @@ -57,8 +57,9 @@ static void Close( vlc_object_t * ); static const int pi_index[] = {0,1,2}; -static const char *const ppsz_indexes[] = { N_("Ask"), N_("Always fix"), - N_("Never fix") }; +static const char *const ppsz_indexes[] = { N_("Ask for action"), + N_("Always fix"), + N_("Never fix") }; vlc_module_begin () set_shortname( "AVI" ) diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp index f428a5d97e..866974f70f 100644 --- a/modules/gui/qt4/components/simple_preferences.cpp +++ b/modules/gui/qt4/components/simple_preferences.cpp @@ -417,6 +417,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, CONFIG_GENERIC( "prefer-system-codecs", Bool, NULL, systemCodecBox ); #else ui.systemCodecBox->hide(); + ui.systemCodecLabel->hide(); #endif optionWidgets.append( ui.DVDDevice ); optionWidgets.append( ui.cachingCombo ); diff --git a/modules/gui/qt4/ui/sprefs_input.ui b/modules/gui/qt4/ui/sprefs_input.ui index 12903cbb06..b6cbcdfb2d 100644 --- a/modules/gui/qt4/ui/sprefs_input.ui +++ b/modules/gui/qt4/ui/sprefs_input.ui @@ -8,7 +8,7 @@ 0 0 687 - 507 + 489 @@ -18,13 +18,19 @@ - Disc Devices + Optical drive + + + 250 + 0 + + - Default disc device + Default optical device DVDDevice @@ -32,31 +38,67 @@ - + + + + + + + + Browse... + + + + - - + + + + + + + Files + + + + - Browse... + Damaged or incomplete AVI file + + + AviRepair + + + 250 + 0 + + Record directory or filename - + + + + + + + + Browse... + + + + - - - - Browse... - - + + @@ -69,8 +111,14 @@ + + + 250 + 0 + + - Server default port + Default port (server mode) 0 @@ -80,26 +128,10 @@ - - - - Qt::AlignRight - - - 1 - - - 65535 - - - 1234 - - - - HTTP proxy + HTTP proxy URL proxy @@ -109,103 +141,168 @@ - - - - - - - Caching - - - + - Default caching level + Default caching policy cachingCombo - + + + + + + + HTTP (default) + + + true + + + true + + + + + + + RTP over RTSP (TCP) + + + + + + + + + Stream transport + + + + + + + + + Qt::AlignRight + + + 1 + + + 65535 + + + 1234 + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + + - Codecs / Muxers + Codecs - + + + + 250 + 0 + + - Post-Processing quality + Video quality post-processing level PostProcLevel - - - - Qt::AlignRight - - - 1 - - - 65535 - - - 6 - - - - - + + - Repair AVI files + H.264 in-loop deblocking filter - AviRepair + loopFilterBox - - + + - - - - Use system codecs if available (better quality) - - + + + + + + Qt::AlignRight + + + 1 + + + 26 + + + 6 + + + + + + + Qt::Horizontal + + + + 40 + 20 + + + + + - - + + - Use RTP over RTSP (TCP) + System codecs (better quality) - - + + - Skip the loop filter for H.264 decoding - - - loopFilterBox + Use host codecs if available - - - -- 2.39.2