Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
9274704b
Commit
9274704b
authored
Aug 24, 2007
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
control/media_descriptor.c: Give access to the subitems.
parent
bf60cc95
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
1 deletion
+17
-1
include/vlc/libvlc.h
include/vlc/libvlc.h
+4
-0
src/control/media_descriptor.c
src/control/media_descriptor.c
+13
-1
No files found.
include/vlc/libvlc.h
View file @
9274704b
...
...
@@ -233,6 +233,10 @@ VLC_PUBLIC_API libvlc_tag_t
const
char
*
key
,
libvlc_exception_t
*
p_e
);
VLC_PUBLIC_API
libvlc_media_list_t
*
libvlc_media_descriptor_subitems
(
libvlc_media_descriptor_t
*
p_md
,
libvlc_exception_t
*
p_e
);
/** @}*/
/*****************************************************************************
...
...
src/control/media_descriptor.c
View file @
9274704b
...
...
@@ -253,6 +253,7 @@ void libvlc_media_descriptor_release( libvlc_media_descriptor_t *p_md )
if
(
p_md
->
i_refcount
>
0
)
return
;
if
(
p_md
->
p_subitems
)
libvlc_media_list_release
(
p_md
->
p_subitems
);
uninstall_input_item_observer
(
p_md
);
...
...
@@ -437,3 +438,14 @@ libvlc_media_descriptor_tag_at_index_for_key( libvlc_media_descriptor_t *p_md,
return
strdup
(
p_ts
->
ppsz_tags
[
i
]
);
}
/**************************************************************************
* subitems
**************************************************************************/
libvlc_media_list_t
*
libvlc_media_descriptor_subitems
(
libvlc_media_descriptor_t
*
p_md
,
libvlc_exception_t
*
p_e
)
{
libvlc_media_list_retain
(
p_md
->
p_subitems
);
return
p_md
->
p_subitems
;
}
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