Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
de6ce14e
Commit
de6ce14e
authored
Feb 05, 2009
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not save a vout if there is still an active vout.
parent
d61e4c6c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/input/ressource.c
src/input/ressource.c
+3
-2
No files found.
src/input/ressource.c
View file @
de6ce14e
...
...
@@ -229,11 +229,12 @@ static vout_thread_t *RequestVout( input_ressource_t *p_ressource,
vlc_mutex_lock
(
&
p_ressource
->
lock_vout
);
TAB_REMOVE
(
p_ressource
->
i_vout
,
p_ressource
->
pp_vout
,
p_vout
);
const
int
i_vout_active
=
p_ressource
->
i_vout
;
vlc_mutex_unlock
(
&
p_ressource
->
lock_vout
);
if
(
p_ressource
->
p_vout_free
)
if
(
p_ressource
->
p_vout_free
||
i_vout_active
>
0
)
{
msg_Dbg
(
p_ressource
->
p_input
,
"detroying vout (already one saved)"
);
msg_Dbg
(
p_ressource
->
p_input
,
"detroying vout (already one saved
or active
)"
);
vout_CloseAndRelease
(
p_vout
);
}
else
...
...
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