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
8455686e
Commit
8455686e
authored
May 08, 2008
by
Rafaël Carré
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't use the playlist if it has been destroyed
parent
58b8ff47
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
src/video_output/video_output.c
src/video_output/video_output.c
+5
-6
No files found.
src/video_output/video_output.c
View file @
8455686e
...
@@ -509,12 +509,11 @@ static void vout_Destructor( vlc_object_t * p_this )
...
@@ -509,12 +509,11 @@ static void vout_Destructor( vlc_object_t * p_this )
#ifndef __APPLE__
#ifndef __APPLE__
vout_thread_t
*
p_another_vout
;
vout_thread_t
*
p_another_vout
;
playlist_t
*
p_playlist
=
pl_Yield
(
p_vout
);
playlist_t
*
p_playlist
=
vlc_object_find
(
p_this
->
p_libvlc
,
if
(
p_playlist
->
b_die
)
VLC_OBJECT_PLAYLIST
,
FIND_ANYWHERE
);
{
if
(
!
p_playlist
)
pl_Release
(
p_vout
);
return
;
return
;
}
/* This is a dirty hack mostly for Linux, where there is no way to get the
/* This is a dirty hack mostly for Linux, where there is no way to get the
* GUI back if you closed it while playing video. This is solved in
* GUI back if you closed it while playing video. This is solved in
* Mac OS X, where we have this novelty called menubar, that will always
* Mac OS X, where we have this novelty called menubar, that will always
...
@@ -526,7 +525,7 @@ static void vout_Destructor( vlc_object_t * p_this )
...
@@ -526,7 +525,7 @@ static void vout_Destructor( vlc_object_t * p_this )
var_SetBool
(
p_playlist
,
"intf-show"
,
true
);
var_SetBool
(
p_playlist
,
"intf-show"
,
true
);
else
else
vlc_object_release
(
p_another_vout
);
vlc_object_release
(
p_another_vout
);
pl_Release
(
p_vou
t
);
vlc_object_release
(
p_playlis
t
);
#endif
#endif
}
}
...
...
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