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
71e01e17
Commit
71e01e17
authored
Nov 21, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MacOSX/Framework/VLCMediaLibrary.m: Rework -allMedia, and remove -sublists.
parent
e617d8be
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
16 deletions
+3
-16
extras/MacOSX/Framework/Headers/Public/VLCMediaLibrary.h
extras/MacOSX/Framework/Headers/Public/VLCMediaLibrary.h
+0
-1
extras/MacOSX/Framework/Sources/VLCMediaLibrary.m
extras/MacOSX/Framework/Sources/VLCMediaLibrary.m
+3
-15
No files found.
extras/MacOSX/Framework/Headers/Public/VLCMediaLibrary.h
View file @
71e01e17
...
...
@@ -35,5 +35,4 @@
+
(
id
)
sharedMediaLibrary
;
-
(
VLCMediaList
*
)
allMedia
;
-
(
NSArray
*
)
playlists
;
@end
extras/MacOSX/Framework/Sources/VLCMediaLibrary.m
View file @
71e01e17
...
...
@@ -71,22 +71,10 @@ static VLCMediaLibrary * sharedMediaLibrary = nil;
{
if
(
!
allMedia
)
{
// libvlc_media_list_t *p_mlist = libvlc_media_library_media_list(mlib, NULL);
// libvlc_media_list_t * p_flat_mlist = libvlc_media_list_flat_media_list(p_mlist, NULL);
// allMedia = [[VLCMediaList medialistWithLibVLCMediaList: p_flat_mlist] retain];
// libvlc_media_list_release(p_flat_mlist);
// libvlc_media_list_release(p_mlist);
libvlc_media_list_t
*
p_mlist
=
libvlc_media_library_media_list
(
mlib
,
NULL
);
allMedia
=
[[
VLCMediaList
medialistWithLibVLCMediaList
:
p_mlist
]
retain
];
libvlc_media_list_release
(
p_mlist
);
}
return
allMedia
;
}
-
(
NSArray
*
)
playlists
{
libvlc_media_list_t
*
p_mlist
=
libvlc_media_library_media_list
(
mlib
,
NULL
);
VLCMediaList
*
medialist
=
[
VLCMediaList
medialistWithLibVLCMediaList
:
p_mlist
];
libvlc_media_list_release
(
p_mlist
);
NSArray
*
ret
=
[
medialist
sublists
];
return
ret
;
}
@end
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