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
b874f1bf
Commit
b874f1bf
authored
May 10, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed dead code (vout).
parent
b981b0b3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
29 deletions
+1
-29
src/video_output/video_output.c
src/video_output/video_output.c
+1
-28
src/video_output/vout_internal.h
src/video_output/vout_internal.h
+0
-1
No files found.
src/video_output/video_output.c
View file @
b874f1bf
...
...
@@ -136,33 +136,7 @@ vout_thread_t *vout_Request( vlc_object_t *p_this, vout_thread_t *p_vout,
{
vlc_mutex_lock
(
&
p_vout
->
p
->
change_lock
);
/* We don't directly check for the "vout-filter" variable for obvious
* performance reasons. */
if
(
p_vout
->
p
->
b_filter_change
)
{
char
*
psz_filter_chain
=
var_GetString
(
p_vout
,
"vout-filter"
);
if
(
psz_filter_chain
&&
!*
psz_filter_chain
)
{
free
(
psz_filter_chain
);
psz_filter_chain
=
NULL
;
}
if
(
p_vout
->
p
->
psz_filter_chain
&&
!*
p_vout
->
p
->
psz_filter_chain
)
{
free
(
p_vout
->
p
->
psz_filter_chain
);
p_vout
->
p
->
psz_filter_chain
=
NULL
;
}
if
(
!
psz_filter_chain
&&
!
p_vout
->
p
->
psz_filter_chain
)
{
p_vout
->
p
->
b_filter_change
=
false
;
}
free
(
psz_filter_chain
);
}
if
(
!
video_format_IsSimilar
(
&
p_vout
->
p
->
original
,
p_fmt
)
||
p_vout
->
p
->
b_filter_change
)
if
(
!
video_format_IsSimilar
(
&
p_vout
->
p
->
original
,
p_fmt
)
)
{
vlc_mutex_unlock
(
&
p_vout
->
p
->
change_lock
);
...
...
@@ -250,7 +224,6 @@ vout_thread_t * (vout_Create)( vlc_object_t *p_parent, video_format_t *p_fmt )
vout_control_Init
(
&
p_vout
->
p
->
control
);
vout_chrono_Init
(
&
p_vout
->
p
->
render
,
5
,
10000
);
/* Arbitrary initial time */
vout_statistic_Init
(
&
p_vout
->
p
->
statistic
);
p_vout
->
p
->
b_filter_change
=
0
;
p_vout
->
p
->
i_par_num
=
p_vout
->
p
->
i_par_den
=
1
;
p_vout
->
p
->
displayed
.
date
=
VLC_TS_INVALID
;
...
...
src/video_output/vout_internal.h
View file @
b874f1bf
...
...
@@ -102,7 +102,6 @@ struct vout_thread_sys_t
/* Filter chain */
char
*
psz_filter_chain
;
bool
b_filter_change
;
/* Video filter2 chain */
vlc_mutex_t
vfilter_lock
;
...
...
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