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
92bdd6e5
Commit
92bdd6e5
authored
Feb 25, 2010
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
meta: Use libvlc_media_parse().
parent
1b1325c6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
12 deletions
+1
-12
test/libvlc/meta.c
test/libvlc/meta.c
+1
-12
No files found.
test/libvlc/meta.c
View file @
92bdd6e5
...
@@ -40,18 +40,7 @@ static void test_meta (const char ** argv, int argc)
...
@@ -40,18 +40,7 @@ static void test_meta (const char ** argv, int argc)
media
=
libvlc_media_new_path
(
vlc
,
"samples/meta.sample"
);
media
=
libvlc_media_new_path
(
vlc
,
"samples/meta.sample"
);
assert
(
media
);
assert
(
media
);
/* Tell that we are interested in this precise meta data
libvlc_media_parse
(
media
);
* This is needed to trigger meta data reading
* (the first calls return NULL) */
artist
=
libvlc_media_get_meta
(
media
,
libvlc_meta_Artist
);
free
(
artist
);
/* Wait for the meta */
while
(
!
libvlc_media_is_preparsed
(
media
))
{
usleep
(
10000
);
}
artist
=
libvlc_media_get_meta
(
media
,
libvlc_meta_Artist
);
artist
=
libvlc_media_get_meta
(
media
,
libvlc_meta_Artist
);
...
...
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