Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Steve Lhomme
VLC
Commits
2f8eed35
Commit
2f8eed35
authored
Sep 07, 2010
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: do not allow activation of DxVA2 in SPrefs on XP
XP is too old. Deal with it. Will ease support Close #3727
parent
59045c47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+6
-1
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
2f8eed35
...
...
@@ -446,12 +446,17 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
ui
.
live555TransportHTTPRadio
->
hide
();
ui
.
live555TransportLabel
->
hide
();
}
CONFIG_BOOL
(
"ffmpeg-hw"
,
hwAccelBox
);
#ifdef WIN32
CONFIG_BOOL
(
"prefer-system-codecs"
,
systemCodecBox
);
HINSTANCE
hdxva2_dll
=
LoadLibrary
(
TEXT
(
"DXVA2.DLL"
)
);
if
(
!
hdxva2_dll
)
ui
.
hwAccelBox
->
setEnabled
(
false
);
else
FreeLibrary
(
hdxva2_dll
);
#else
ui
.
systemCodecBox
->
hide
();
#endif
CONFIG_BOOL
(
"ffmpeg-hw"
,
hwAccelBox
);
optionWidgets
.
append
(
ui
.
DVDDevice
);
optionWidgets
.
append
(
ui
.
cachingCombo
);
CONFIG_GENERIC
(
"ffmpeg-skiploopfilter"
,
IntegerList
,
ui
.
filterLabel
,
loopFilterBox
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment