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
440bf3aa
Commit
440bf3aa
authored
Jan 27, 2010
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x/framework: Fix dead code in VLCExtensionsManager.
parent
a3f9f72a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
19 deletions
+0
-19
projects/macosx/framework/Sources/VLCExtensionsManager.m
projects/macosx/framework/Sources/VLCExtensionsManager.m
+0
-19
No files found.
projects/macosx/framework/Sources/VLCExtensionsManager.m
View file @
440bf3aa
...
...
@@ -14,21 +14,6 @@
#define _instance ((extensions_manager_t *)instance)
static
int
DialogCallback
(
vlc_object_t
*
p_this
,
const
char
*
psz_variable
,
vlc_value_t
old_val
,
vlc_value_t
new_val
,
void
*
param
)
{
VLCExtensionsManager
*
self
=
param
;
assert
(
self
);
assert
(
new_val
.
p_address
);
extension_dialog_t
*
dialog
=
new_val
.
p_address
;
NSLog
(
@"dialog callback"
);
return
VLC_SUCCESS
;
}
@implementation
VLCExtensionsManager
static
VLCExtensionsManager
*
sharedManager
=
nil
;
...
...
@@ -45,9 +30,7 @@ static VLCExtensionsManager *sharedManager = nil;
-
(
void
)
dealloc
{
vlc_object_t
*
libvlc
=
libvlc_get_vlc_instance
([
VLCLibrary
sharedInstance
]);
var_DelCallback
(
libvlc
,
"dialog-extension"
,
DialogCallback
,
NULL
);
vlc_object_release
(
libvlc
);
module_unneed
(
_instance
,
_instance
->
p_module
);
vlc_object_release
(
_instance
);
...
...
@@ -70,8 +53,6 @@ static VLCExtensionsManager *sharedManager = nil;
_instance
->
p_module
=
module_need
(
_instance
,
"extension"
,
NULL
,
false
);
NSAssert
(
_instance
->
p_module
,
@"Unable to load extensions module"
);
var_Create
(
libvlc
,
"dialog-extension"
,
VLC_VAR_ADDRESS
);
var_AddCallback
(
libvlc
,
"dialog-extension"
,
DialogCallback
,
self
);
vlc_object_release
(
libvlc
);
}
...
...
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