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
716537eb
Commit
716537eb
authored
Jan 29, 2010
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx/framework: Remove a bunch of exception.
parent
9ceb897c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
13 deletions
+9
-13
projects/macosx/framework/Sources/VLCMediaLibrary.m
projects/macosx/framework/Sources/VLCMediaLibrary.m
+5
-6
projects/macosx/framework/Sources/VLCMediaList.m
projects/macosx/framework/Sources/VLCMediaList.m
+4
-7
No files found.
projects/macosx/framework/Sources/VLCMediaLibrary.m
View file @
716537eb
...
...
@@ -44,11 +44,10 @@
{
if
(
self
=
[
super
init
])
{
mlib
=
libvlc_media_library_new
(
[
VLCLibrary
sharedInstance
]);
libvlc_exception_t
p_e
;
libvlc_exception_init
(
&
p_e
);
mlib
=
libvlc_media_library_new
(
[
VLCLibrary
sharedInstance
],
&
p_e
);
catch_exception
(
&
p_e
);
libvlc_media_library_load
(
mlib
,
&
p_e
);
catch_exception
(
&
p_e
);
...
...
projects/macosx/framework/Sources/VLCMediaList.m
View file @
716537eb
...
...
@@ -77,10 +77,7 @@ static void HandleMediaListItemDeleted( const libvlc_event_t * event, void * use
if
(
self
=
[
super
init
])
{
// Create a new libvlc media list instance
libvlc_exception_t
p_e
;
libvlc_exception_init
(
&
p_e
);
p_mlist
=
libvlc_media_list_new
(
[
VLCLibrary
sharedInstance
],
&
p_e
);
catch_exception
(
&
p_e
);
p_mlist
=
libvlc_media_list_new
([
VLCLibrary
sharedInstance
]);
// Initialize internals to defaults
cachedMedia
=
[[
NSMutableArray
alloc
]
init
];
...
...
@@ -220,7 +217,7 @@ static void HandleMediaListItemDeleted( const libvlc_event_t * event, void * use
if
(
hierarchicalAspect
)
return
hierarchicalAspect
;
libvlc_media_list_view_t
*
p_mlv
=
libvlc_media_list_hierarchical_view
(
p_mlist
,
NULL
);
libvlc_media_list_view_t
*
p_mlv
=
libvlc_media_list_hierarchical_view
(
p_mlist
);
hierarchicalAspect
=
[[
VLCMediaListAspect
mediaListAspectWithLibVLCMediaListView
:
p_mlv
andMediaList
:
self
]
retain
];
libvlc_media_list_view_release
(
p_mlv
);
return
hierarchicalAspect
;
...
...
@@ -231,7 +228,7 @@ static void HandleMediaListItemDeleted( const libvlc_event_t * event, void * use
if
(
hierarchicalNodeAspect
)
return
hierarchicalNodeAspect
;
libvlc_media_list_view_t
*
p_mlv
=
libvlc_media_list_hierarchical_node_view
(
p_mlist
,
NULL
);
libvlc_media_list_view_t
*
p_mlv
=
libvlc_media_list_hierarchical_node_view
(
p_mlist
);
hierarchicalNodeAspect
=
[[
VLCMediaListAspect
mediaListAspectWithLibVLCMediaListView
:
p_mlv
andMediaList
:
self
]
retain
];
libvlc_media_list_view_release
(
p_mlv
);
return
hierarchicalNodeAspect
;
...
...
@@ -242,7 +239,7 @@ static void HandleMediaListItemDeleted( const libvlc_event_t * event, void * use
if
(
flatAspect
)
return
flatAspect
;
libvlc_media_list_view_t
*
p_mlv
=
libvlc_media_list_flat_view
(
p_mlist
,
NULL
);
libvlc_media_list_view_t
*
p_mlv
=
libvlc_media_list_flat_view
(
p_mlist
,
NULL
);
flatAspect
=
[[
VLCMediaListAspect
mediaListAspectWithLibVLCMediaListView
:
p_mlv
andMediaList
:
self
]
retain
];
libvlc_media_list_view_release
(
p_mlv
);
return
flatAspect
;
...
...
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