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
65797af8
Commit
65797af8
authored
Apr 01, 2009
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx gui: fix a playlist object leak.
parent
1ccbac9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
11 deletions
+3
-11
modules/gui/macosx/applescript.m
modules/gui/macosx/applescript.m
+3
-11
No files found.
modules/gui/macosx/applescript.m
View file @
65797af8
/*****************************************************************************
/*****************************************************************************
* applescript.m: MacOS X AppleScript support
* applescript.m: MacOS X AppleScript support
*****************************************************************************
*****************************************************************************
* Copyright (C) 2002-200
3, 2005, 2007-2008
the VideoLAN team
* Copyright (C) 2002-200
9
the VideoLAN team
* $Id$
* $Id$
*
*
* Authors: Derk-Jan Hartman <thedj@users.sourceforge.net>
* Authors: Derk-Jan Hartman <thedj@users.sourceforge.net>
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
noteNewRecentDocumentURL:
o_url
];
noteNewRecentDocumentURL:
o_url
];
}
}
}
}
vlc_object_release
(
p_playlist
);
pl_Release
(
p_intf
);
}
}
return
nil
;
return
nil
;
}
}
...
@@ -103,45 +103,37 @@
...
@@ -103,45 +103,37 @@
if
(
[
o_command
isEqualToString
:
@"play"
]
)
if
(
[
o_command
isEqualToString
:
@"play"
]
)
{
{
[
o_controls
play
:
self
];
[
o_controls
play
:
self
];
return
nil
;
}
}
else
if
(
[
o_command
isEqualToString
:
@"stop"
]
)
else
if
(
[
o_command
isEqualToString
:
@"stop"
]
)
{
{
[
o_controls
stop
:
self
];
[
o_controls
stop
:
self
];
return
nil
;
}
}
else
if
(
[
o_command
isEqualToString
:
@"previous"
]
)
else
if
(
[
o_command
isEqualToString
:
@"previous"
]
)
{
{
[
o_controls
prev
:
self
];
[
o_controls
prev
:
self
];
return
nil
;
}
}
else
if
(
[
o_command
isEqualToString
:
@"next"
]
)
else
if
(
[
o_command
isEqualToString
:
@"next"
]
)
{
{
[
o_controls
next
:
self
];
[
o_controls
next
:
self
];
return
nil
;
}
}
else
if
(
[
o_command
isEqualToString
:
@"fullscreen"
]
)
else
if
(
[
o_command
isEqualToString
:
@"fullscreen"
]
)
{
{
[
o_controls
toogleFullscreen
:
self
];
[
o_controls
toogleFullscreen
:
self
];
return
nil
;
}
}
else
if
(
[
o_command
isEqualToString
:
@"mute"
]
)
else
if
(
[
o_command
isEqualToString
:
@"mute"
]
)
{
{
[
o_controls
mute
:
self
];
[
o_controls
mute
:
self
];
return
nil
;
}
}
else
if
(
[
o_command
isEqualToString
:
@"volumeUp"
]
)
else
if
(
[
o_command
isEqualToString
:
@"volumeUp"
]
)
{
{
[
o_controls
volumeUp
:
self
];
[
o_controls
volumeUp
:
self
];
return
nil
;
}
}
else
if
(
[
o_command
isEqualToString
:
@"volumeDown"
]
)
else
if
(
[
o_command
isEqualToString
:
@"volumeDown"
]
)
{
{
[
o_controls
volumeDown
:
self
];
[
o_controls
volumeDown
:
self
];
return
nil
;
}
}
}
}
vlc_object_release
(
p_playlist
);
pl_Release
(
p_intf
);
return
nil
;
return
nil
;
}
}
...
...
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