Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
36f457d0
Commit
36f457d0
authored
Aug 15, 2014
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Qt: PostProc getter helper
Ref #11613
parent
cca1c1ef
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
modules/gui/qt4/components/extended_panels.cpp
modules/gui/qt4/components/extended_panels.cpp
+12
-0
modules/gui/qt4/components/extended_panels.hpp
modules/gui/qt4/components/extended_panels.hpp
+1
-0
No files found.
modules/gui/qt4/components/extended_panels.cpp
View file @
36f457d0
...
...
@@ -698,6 +698,18 @@ void ExtVideo::updateFilterOptions()
setFilterOption
(
p_intf
,
qtu
(
module
),
qtu
(
option
),
i_int
,
f_float
,
val
);
}
int
ExtVideo
::
getPostprocessing
(
struct
intf_thread_t
*
p_intf
)
{
char
*
psz_config
=
config_GetPsz
(
p_intf
,
"video-filter"
);
int
i_q
=
-
1
;
if
(
psz_config
)
{
if
(
strstr
(
psz_config
,
"postproc"
))
i_q
=
config_GetInt
(
p_intf
,
"postproc-q"
);
free
(
psz_config
);
}
return
i_q
;
}
void
ExtVideo
::
setPostprocessing
(
struct
intf_thread_t
*
p_intf
,
int
q
)
{
const
char
*
psz_name
=
"postproc"
;
...
...
modules/gui/qt4/components/extended_panels.hpp
View file @
36f457d0
...
...
@@ -47,6 +47,7 @@ class ExtVideo: public QObject
public:
ExtVideo
(
struct
intf_thread_t
*
,
QTabWidget
*
);
static
void
setPostprocessing
(
struct
intf_thread_t
*
,
int
q
);
static
int
getPostprocessing
(
struct
intf_thread_t
*
p_intf
);
private:
Ui
::
ExtVideoWidget
ui
;
QSignalMapper
*
filterMapper
;
...
...
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