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
14365bf3
Commit
14365bf3
authored
Dec 25, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
control/media_list_view.c: Implement media_list_view_parent_media_list().
parent
9c28c114
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
include/vlc/libvlc.h
include/vlc/libvlc.h
+4
-0
src/control/media_list_view.c
src/control/media_list_view.c
+16
-0
No files found.
include/vlc/libvlc.h
View file @
14365bf3
...
...
@@ -618,6 +618,10 @@ VLC_PUBLIC_API void
libvlc_media_descriptor_t
*
p_md
,
libvlc_exception_t
*
p_e
);
VLC_PUBLIC_API
libvlc_media_list_t
*
libvlc_media_list_view_parent_media_list
(
libvlc_media_list_view_t
*
p_mlv
,
libvlc_exception_t
*
p_e
);
/** @} */
/*****************************************************************************
...
...
src/control/media_list_view.c
View file @
14365bf3
...
...
@@ -361,6 +361,22 @@ libvlc_media_list_view_event_manager( libvlc_media_list_view_t * p_mlv )
return
p_em
;
}
/**************************************************************************
* libvlc_media_list_view_parent_media_list (Public)
**************************************************************************/
libvlc_media_list_t
*
libvlc_media_list_view_parent_media_list
(
libvlc_media_list_view_t
*
p_mlv
,
libvlc_exception_t
*
p_e
)
{
(
void
)
p_e
;
libvlc_media_list_t
*
p_mlist
;
vlc_mutex_lock
(
&
p_mlv
->
object_lock
);
p_mlist
=
p_mlv
->
p_mlist
;
libvlc_media_list_retain
(
p_mlv
->
p_mlist
);
vlc_mutex_unlock
(
&
p_mlv
->
object_lock
);
return
p_mlist
;
}
/* Limited to four args, because it should be enough */
#define AN_SELECT( collapser, dec1, dec2, dec3, dec4, p, ...) p
...
...
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