From d3ad0ff17cd425bf072026e38c239596ee8523ab Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Kempf Date: Mon, 5 Jul 2010 18:51:42 +0200 Subject: [PATCH] Qt: spref small rework of video and codecs part Move the skip-frame pref from video to codecs --- .../gui/qt4/components/simple_preferences.cpp | 2 +- modules/gui/qt4/ui/sprefs_input.ui | 89 +++++++++---------- modules/gui/qt4/ui/sprefs_video.ui | 30 +++---- 3 files changed, 56 insertions(+), 65 deletions(-) diff --git a/modules/gui/qt4/components/simple_preferences.cpp b/modules/gui/qt4/components/simple_preferences.cpp index b8003ca9f4..f56468a850 100644 --- a/modules/gui/qt4/components/simple_preferences.cpp +++ b/modules/gui/qt4/components/simple_preferences.cpp @@ -216,7 +216,6 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, CONFIG_BOOL( "overlay", overlay ); CONFIG_BOOL( "video-on-top", alwaysOnTop ); CONFIG_BOOL( "video-deco", windowDecorations ); - CONFIG_BOOL( "skip-frames", skipFrames ); CONFIG_GENERIC( "vout", Module, ui.voutLabel, outputModule ); CONFIG_BOOL( "video-wallpaper", wallpaperMode ); @@ -455,6 +454,7 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent, optionWidgets.append( ui.DVDDevice ); optionWidgets.append( ui.cachingCombo ); CONFIG_GENERIC( "ffmpeg-skiploopfilter", IntegerList, ui.filterLabel, loopFilterBox ); + CONFIG_BOOL( "skip-frames", skipFrames ); CONFIG_GENERIC( "sout-x264-tune", StringList, ui.x264Label, tuneBox ); CONFIG_GENERIC( "sout-x264-preset", StringList, ui.x264Label, presetBox ); CONFIG_GENERIC( "sout-x264-profile", StringList, ui.x264profileLabel, profileBox ); diff --git a/modules/gui/qt4/ui/sprefs_input.ui b/modules/gui/qt4/ui/sprefs_input.ui index 6e94502ba1..b391373c3c 100644 --- a/modules/gui/qt4/ui/sprefs_input.ui +++ b/modules/gui/qt4/ui/sprefs_input.ui @@ -7,8 +7,8 @@ 0 0 - 680 - 537 + 737 + 635 @@ -70,76 +70,41 @@ - + - + x264 profile and level selection - profileBox levelBox - + - + - + x264 preset and tuning selection - presetBox tuneBox - + - + - - - - - - Qt::AlignRight - - - 1 - - - 26 - - - 6 - - - - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - @@ -163,13 +128,46 @@ - + + + + Skip frames + + + true + + + + + + + Qt::AlignRight + + + 1 + + + 26 + + + 6 + + + + Use system codecs if available (better quality, but dangerous) + + + + Qt::Horizontal + + + @@ -353,7 +351,6 @@ live555TransportHTTPRadio live555TransportRTSP_TCPRadio cachingCombo - PostProcLevel hwAccelBox loopFilterBox diff --git a/modules/gui/qt4/ui/sprefs_video.ui b/modules/gui/qt4/ui/sprefs_video.ui index b9bfb45726..af9f0e755a 100644 --- a/modules/gui/qt4/ui/sprefs_video.ui +++ b/modules/gui/qt4/ui/sprefs_video.ui @@ -7,7 +7,7 @@ 0 0 - 820 + 816 626 @@ -57,14 +57,14 @@ - + 15 - + Output @@ -84,17 +84,14 @@ - - + + - Skip frames - - - true + Use hardware YUV->RGB conversions - + Window decorations @@ -104,13 +101,6 @@ - - - - Use hardware YUV->RGB conversions - - - @@ -303,10 +293,14 @@ fullscreen overlay alwaysOnTop - skipFrames + windowDecorations + hwYUVBox outputModule wallpaperMode dXdisplayDevice + deinterlaceBox + deinterlaceModeBox + arLine snapshotsDirectory snapshotsDirectoryBrowse snapshotsPrefix -- 2.39.2