Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
b37eec6d
Commit
b37eec6d
authored
Aug 23, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: Make sure VLCIntf gets NULL-ify when VLC ends.
parent
5c0c38f4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+2
-0
modules/gui/macosx/vout.m
modules/gui/macosx/vout.m
+1
-1
No files found.
modules/gui/macosx/intf.m
View file @
b37eec6d
...
...
@@ -737,6 +737,8 @@ static VLCMain *_o_sharedMainInstance = nil;
vlc_object_kill
(
p_intf
->
p_libvlc
);
[
self
setIntf
:
nil
];
/* Go back to Run() and make libvlc exit properly */
if
(
jmpbuffer
)
longjmp
(
jmpbuffer
,
1
);
...
...
modules/gui/macosx/vout.m
View file @
b37eec6d
...
...
@@ -444,7 +444,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
-
(
void
)
manage
{
/* Disable Screensaver, when we're playing something, but allow it on pause */
if
(
!
VLCIntf
||
!
VLCIntf
->
p_sys
||
!
VLCIntf
->
p_sys
->
i_play_status
)
if
(
!
VLCIntf
||
!
VLCIntf
->
p_sys
)
return
;
if
(
VLCIntf
->
p_sys
->
i_play_status
==
PLAYING_S
)
...
...
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