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
4db98423
Commit
4db98423
authored
Aug 03, 2008
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed filter_chain_GetFmtOut to really return the output value when
possible.
parent
feb1ec09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
src/misc/filter_chain.c
src/misc/filter_chain.c
+12
-1
No files found.
src/misc/filter_chain.c
View file @
4db98423
...
...
@@ -328,7 +328,18 @@ int filter_chain_GetLength( filter_chain_t *p_chain )
const
es_format_t
*
filter_chain_GetFmtOut
(
filter_chain_t
*
p_chain
)
{
return
&
p_chain
->
fmt_out
;
if
(
p_chain
->
b_allow_fmt_out_change
)
return
&
p_chain
->
fmt_out
;
/* Unless filter_chain_Reset has been called we are doomed */
if
(
p_chain
->
filters
.
i_count
<=
0
)
return
&
p_chain
->
fmt_out
;
/* */
filter_t
*
p_last
=
(
filter_t
*
)
p_chain
->
filters
.
pp_elems
[
p_chain
->
filters
.
i_count
-
1
];
return
&
p_last
->
fmt_out
;
}
/**
...
...
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