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
c71ebdc5
Commit
c71ebdc5
authored
Jun 27, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove video output when input stops - fixes #1637
parent
96c04ef2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
src/playlist/engine.c
src/playlist/engine.c
+11
-2
No files found.
src/playlist/engine.c
View file @
c71ebdc5
/*****************************************************************************
/*****************************************************************************
* engine.c : Run the playlist and handle its control
* engine.c : Run the playlist and handle its control
*****************************************************************************
*****************************************************************************
* Copyright (C) 1999-2007 the VideoLAN team
* Copyright (C) 1999-2008 the VideoLAN team
* $Id$
*
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Authors: Samuel Hocevar <sam@zoy.org>
* Clément Stenac <zorglub@videolan.org>
* Clément Stenac <zorglub@videolan.org>
...
@@ -196,6 +195,16 @@ static void ObjectGarbageCollector( playlist_t *p_playlist, bool b_force )
...
@@ -196,6 +195,16 @@ static void ObjectGarbageCollector( playlist_t *p_playlist, bool b_force )
}
}
vlc_mutex_lock
(
&
p_playlist
->
gc_lock
);
vlc_mutex_lock
(
&
p_playlist
->
gc_lock
);
while
(
(
p_obj
=
vlc_object_find
(
p_playlist
->
p_libvlc
,
VLC_OBJECT_VOUT
,
FIND_CHILD
)
)
)
{
vlc_object_release
(
p_obj
);
if
(
p_obj
->
p_parent
==
VLC_OBJECT
(
p_playlist
->
p_libvlc
)
)
{
msg_Dbg
(
p_playlist
,
"garbage collector destroying 1 vout"
);
vlc_object_release
(
p_obj
);
/* Hmm, is this (thread-)safe?? */
}
}
p_playlist
->
b_cant_sleep
=
false
;
p_playlist
->
b_cant_sleep
=
false
;
vlc_mutex_unlock
(
&
p_playlist
->
gc_lock
);
vlc_mutex_unlock
(
&
p_playlist
->
gc_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