[vlc-commits] qt: preferences: always show the hardware decoding options on Windows

Steve Lhomme git at videolan.org
Wed Jul 10 10:57:05 CEST 2019


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Mon Jul  8 11:42:41 2019 +0200| [609fe669d1dd055af25a92527df3c91efcfeba21] | committer: Steve Lhomme

qt: preferences: always show the hardware decoding options on Windows

We don't support an OS version where DXVA2 is not available.

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

 modules/gui/qt/components/simple_preferences.cpp | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/modules/gui/qt/components/simple_preferences.cpp b/modules/gui/qt/components/simple_preferences.cpp
index 6f427ef2d3..6f8afa01c5 100644
--- a/modules/gui/qt/components/simple_preferences.cpp
+++ b/modules/gui/qt/components/simple_preferences.cpp
@@ -647,13 +647,6 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
                 ui.live555TransportLabel->hide();
             }
             CONFIG_GENERIC( "avcodec-hw", StringList, ui.hwAccelLabel, hwAccelModule );
-#ifdef _WIN32
-            HINSTANCE hdxva2_dll = LoadLibrary(TEXT("DXVA2.DLL") );
-            if( !hdxva2_dll )
-                ui.hwAccelModule->setEnabled( false );
-            else
-                FreeLibrary( hdxva2_dll );
-#endif
             CONFIG_BOOL( "input-fast-seek", fastSeekBox );
             optionWidgets["inputLE"] = ui.DVDDeviceComboBox;
             optionWidgets["cachingCoB"] = ui.cachingCombo;



More information about the vlc-commits mailing list