Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
6d0efe5f
Commit
6d0efe5f
authored
Nov 20, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MacOSX/Framework/VLCMediaList.m: Remove dead code.
parent
a381352a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
56 deletions
+0
-56
extras/MacOSX/Framework/Headers/Public/VLCMediaList.h
extras/MacOSX/Framework/Headers/Public/VLCMediaList.h
+0
-6
extras/MacOSX/Framework/Sources/VLCMediaList.m
extras/MacOSX/Framework/Sources/VLCMediaList.m
+0
-50
No files found.
extras/MacOSX/Framework/Headers/Public/VLCMediaList.h
View file @
6d0efe5f
...
...
@@ -58,10 +58,4 @@ extern NSString * VLCMediaListItemDeleted;
-
(
VLCMedia
*
)
mediaAtIndex
:(
int
)
index
;
-
(
int
)
indexOfMedia
:(
VLCMedia
*
)
media
;
-
(
int
)
count
;
#if 0 /* Disabled until this get fixed in libvlc */
- (NSArray *)sublists; //< A way to see the same media list. Only sub media list.
- (NSArray *)flatMediaView; //< A way to see the same media list. Only media.
- (VLCMedia *)providerMedia; //< If a media was at the origin of this media list, here it is.
#endif
@end
\ No newline at end of file
extras/MacOSX/Framework/Sources/VLCMediaList.m
View file @
6d0efe5f
...
...
@@ -222,56 +222,6 @@ static void HandleMediaListWillDeleteItem(const libvlc_event_t *event, void *use
return
result
;
}
-
(
NSArray
*
)
sublists
{
NSMutableArray
*
ret
=
[[
NSMutableArray
alloc
]
initWithCapacity
:
0
];
int
i
,
count
;
libvlc_exception_t
p_e
;
libvlc_exception_init
(
&
p_e
);
count
=
libvlc_media_list_count
(
p_mlist
,
&
p_e
);
quit_on_exception
(
&
p_e
);
for
(
i
=
0
;
i
<
count
;
i
++
)
{
libvlc_media_descriptor_t
*
p_md
;
libvlc_media_list_t
*
p_submlist
;
p_md
=
libvlc_media_list_item_at_index
(
p_mlist
,
i
,
NULL
);
p_submlist
=
libvlc_media_descriptor_subitems
(
p_md
,
NULL
);
if
(
p_submlist
)
{
[
ret
addObject
:[
VLCMediaList
medialistWithLibVLCMediaList
:
p_submlist
]];
libvlc_media_list_release
(
p_submlist
);
}
libvlc_media_descriptor_release
(
p_md
);
}
return
[
ret
autorelease
];
}
//- (VLCMediaList *)flatPlaylist
//{
// VLCMediaList * flatPlaylist;
// libvlc_exception_t p_e;
// libvlc_exception_init( &p_e );
// libvlc_media_list_t * p_flat_mlist = libvlc_media_list_flat_media_list( p_mlist, &p_e );
// quit_on_exception( &p_e );
// flatPlaylist = [VLCMediaList medialistWithLibVLCMediaList: p_flat_mlist];
// libvlc_media_list_release( p_flat_mlist );
// return flatPlaylist;
//}
//
//- (VLCMedia *)providerMedia
//{
// VLCMedia * ret;
// libvlc_exception_t p_e;
// libvlc_exception_init( &p_e );
// libvlc_media_descriptor_t * p_md = libvlc_media_list_media_descriptor( p_mlist, &p_e );
// ret = [VLCMedia mediaWithLibVLCMediaDescriptor: p_md];
// libvlc_media_descriptor_release( p_md );
// quit_on_exception( &p_e );
// return ret;
//}
@end
@implementation
VLCMediaList
(
LibVLCBridging
)
...
...
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