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
9a61ec48
Commit
9a61ec48
authored
Jul 24, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
postproc: no need to set the flag again as the bug is now fixed (previous commit).
Also remove an uneeded var_Destroy.
parent
83f9323e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
modules/video_filter/postproc.c
modules/video_filter/postproc.c
+2
-7
No files found.
modules/video_filter/postproc.c
View file @
9a61ec48
...
...
@@ -189,12 +189,8 @@ static int OpenPostproc( vlc_object_t *p_this )
config_ChainParse
(
p_filter
,
FILTER_PREFIX
,
ppsz_filter_options
,
p_filter
->
p_cfg
);
var_Create
(
p_filter
,
FILTER_PREFIX
"q"
,
VLC_VAR_INTEGER
|
VLC_VAR_HASCHOICE
|
VLC_VAR_DOINHERIT
|
VLC_VAR_ISCOMMAND
);
/* For some obscure reason the VLC_VAR_ISCOMMAND isn't taken into account
in during var_Create */
var_Change
(
p_filter
,
FILTER_PREFIX
"q"
,
VLC_VAR_SETISCOMMAND
,
NULL
,
NULL
);
var_Create
(
p_filter
,
FILTER_PREFIX
"q"
,
VLC_VAR_INTEGER
|
VLC_VAR_HASCHOICE
|
VLC_VAR_DOINHERIT
|
VLC_VAR_ISCOMMAND
);
text
.
psz_string
=
_
(
"Post processing"
);
var_Change
(
p_filter
,
FILTER_PREFIX
"q"
,
VLC_VAR_SETTEXT
,
&
text
,
NULL
);
...
...
@@ -214,7 +210,6 @@ static int OpenPostproc( vlc_object_t *p_this )
{
msg_Err
(
p_filter
,
"Error while creating post processing mode."
);
free
(
val
.
psz_string
);
var_Destroy
(
p_filter
,
FILTER_PREFIX
"q"
);
pp_free_context
(
p_sys
->
pp_context
);
free
(
p_sys
);
return
VLC_EGENERIC
;
...
...
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