Skip to content

Commit

Permalink
install.bat: qmlplayer prefer dxva decoder
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-bin committed Apr 9, 2014
1 parent c6db720 commit 78ff6d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:: reg add "HKEY_CLASSES_ROOT\*\shell\OpenWithQtAV\command" /ve /t REG_SZ /d """"%~dp0player.exe""" """%%1"""" /f
reg add "HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open with QtAV\command" /ve /t REG_SZ /d """"%~dp0bin\player.exe""" """-vo""" """gl""" """%%1"""" /f
reg add "HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open with QtAV\command" /ve /t REG_SZ /d """"%~dp0bin\QMLPlayer.exe""" """-vd""" """DXVA""" """%%1"""" /f
reg add "HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open with QtAV QML\command" /ve /t REG_SZ /d """"%~dp0bin\QMLPlayer.exe""" """-vd""" """DXVA;FFmpeg""" """%%1"""" /f
@echo Right click an video/music file, choose "Open with QtAV" to play
pause
2 changes: 1 addition & 1 deletion qtc_packaging/windows/install.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:: reg add "HKEY_CLASSES_ROOT\*\shell\OpenWithQtAV\command" /ve /t REG_SZ /d """"%~dp0player.exe""" """%%1"""" /f
reg add "HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open with QtAV\command" /ve /t REG_SZ /d """"%~dp0bin\player.exe""" """-vo""" """gl""" """%%1"""" /f
reg add "HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open with QtAV\command" /ve /t REG_SZ /d """"%~dp0bin\QMLPlayer.exe""" """-vd""" """DXVA""" """%%1"""" /f
reg add "HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open with QtAV QML\command" /ve /t REG_SZ /d """"%~dp0bin\QMLPlayer.exe""" """-vd""" """DXVA;FFmpeg""" """%%1"""" /f
@echo Right click an video/music file, choose "Open with QtAV" to play
pause

0 comments on commit 78ff6d4

Please sign in to comment.