Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
16b9d39f
Commit
16b9d39f
authored
Oct 12, 2012
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt4: update avcodec-hw prefs
parent
900ada65
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
6 deletions
+13
-6
modules/gui/qt4/components/simple_preferences.cpp
modules/gui/qt4/components/simple_preferences.cpp
+2
-2
modules/gui/qt4/ui/sprefs_input.ui
modules/gui/qt4/ui/sprefs_input.ui
+11
-4
No files found.
modules/gui/qt4/components/simple_preferences.cpp
View file @
16b9d39f
...
...
@@ -471,11 +471,11 @@ SPrefsPanel::SPrefsPanel( intf_thread_t *_p_intf, QWidget *_parent,
ui
.
live555TransportHTTPRadio
->
hide
();
ui
.
live555TransportLabel
->
hide
();
}
CONFIG_
BOOL
(
"avcodec-hw"
,
hwAccelBox
);
CONFIG_
GENERIC
(
"avcodec-hw"
,
StringList
,
ui
.
hwAccelLabel
,
hwAccelModule
);
#ifdef WIN32
HINSTANCE
hdxva2_dll
=
LoadLibrary
(
TEXT
(
"DXVA2.DLL"
)
);
if
(
!
hdxva2_dll
)
ui
.
hwAccel
Box
->
setEnabled
(
false
);
ui
.
hwAccel
Module
->
setEnabled
(
false
);
else
FreeLibrary
(
hdxva2_dll
);
#endif
...
...
modules/gui/qt4/ui/sprefs_input.ui
View file @
16b9d39f
...
...
@@ -69,10 +69,17 @@
<item
row=
"11"
column=
"3"
>
<widget
class=
"QComboBox"
name=
"tuneBox"
/>
</item>
<item
row=
"4"
column=
"0"
colspan=
"3"
>
<widget
class=
"QCheckBox"
name=
"hwAccelBox"
>
<item
row=
"4"
column=
"1"
colspan=
"2"
>
<widget
class=
"QComboBox"
name=
"hwAccelModule"
>
</widget>
</item>
<item
row=
"4"
column=
"0"
>
<widget
class=
"QLabel"
name=
"hwAccelLabel"
>
<property
name=
"text"
>
<string>
Use GPU accelerated decoding
</string>
<string>
Hardware decoding acceleration
</string>
</property>
<property
name=
"buddy"
>
<cstring>
hwAccelModule
</cstring>
</property>
</widget>
</item>
...
...
@@ -345,7 +352,7 @@
</layout>
</widget>
<tabstops>
<tabstop>
hwAccel
Box
</tabstop>
<tabstop>
hwAccel
Module
</tabstop>
<tabstop>
PostProcLevel
</tabstop>
<tabstop>
loopFilterBox
</tabstop>
<tabstop>
presetBox
</tabstop>
...
...
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