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
72300186
Commit
72300186
authored
Apr 25, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed vlc_object_find_name in vout.
parent
b0e3202d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
15 deletions
+6
-15
src/video_output/video_output.c
src/video_output/video_output.c
+6
-15
No files found.
src/video_output/video_output.c
View file @
72300186
...
...
@@ -65,7 +65,6 @@ static int VideoFilter2Callback( vlc_object_t *, char const *,
/* */
static
void
PostProcessEnable
(
vout_thread_t
*
);
static
void
PostProcessDisable
(
vout_thread_t
*
);
static
void
PostProcessSetFilterQuality
(
vout_thread_t
*
p_vout
);
static
int
PostProcessCallback
(
vlc_object_t
*
,
char
const
*
,
vlc_value_t
,
vlc_value_t
,
void
*
);
/* */
...
...
@@ -1006,9 +1005,6 @@ static void *Thread(void *object)
free
(
vout
->
p
->
psz_vf2
);
vout
->
p
->
psz_vf2
=
NULL
;
if
(
last_picture_qtype
!=
QTYPE_NONE
)
PostProcessSetFilterQuality
(
vout
);
}
vlc_mutex_unlock
(
&
vout
->
p
->
vfilter_lock
);
...
...
@@ -1148,12 +1144,17 @@ static int PostProcessCallback( vlc_object_t *p_this, char const *psz_cmd,
}
}
}
if
(
newval
.
i_int
>
0
)
var_SetInteger
(
p_vout
,
"postproc-q"
,
newval
.
i_int
);
if
(
psz_vf2
)
{
var_SetString
(
p_vout
,
"video-filter"
,
psz_vf2
);
free
(
psz_vf2
);
}
else
if
(
newval
.
i_int
>
0
)
{
var_TriggerCallback
(
p_vout
,
"video-filter"
);
}
return
VLC_SUCCESS
;
}
static
void
PostProcessEnable
(
vout_thread_t
*
p_vout
)
...
...
@@ -1195,16 +1196,6 @@ static void PostProcessDisable( vout_thread_t *p_vout )
msg_Dbg
(
p_vout
,
"Post-processing no more available"
);
var_Destroy
(
p_vout
,
"postprocess"
);
}
static
void
PostProcessSetFilterQuality
(
vout_thread_t
*
p_vout
)
{
vlc_object_t
*
p_pp
=
vlc_object_find_name
(
p_vout
,
"postproc"
,
FIND_CHILD
);
if
(
!
p_pp
)
return
;
var_SetInteger
(
p_pp
,
"postproc-q"
,
var_GetInteger
(
p_vout
,
"postprocess"
)
);
vlc_object_release
(
p_pp
);
}
static
void
DisplayTitleOnOSD
(
vout_thread_t
*
p_vout
)
{
...
...
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