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
62333c7c
Commit
62333c7c
authored
Apr 19, 2008
by
Pierre d'Herbemont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: Copyright and formatting in libvlc/meta.c.
parent
4c228229
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
test/libvlc/meta.c
test/libvlc/meta.c
+5
-5
No files found.
test/libvlc/meta.c
View file @
62333c7c
...
...
@@ -5,7 +5,7 @@
*/
/**********************************************************************
* Copyright (C) 200
7 Rémi Denis-Courmont.
*
* Copyright (C) 200
8 Pierre d'Herbemont.
*
* This program is free software; you can redistribute and/or modify *
* it under the terms of the GNU General Public License as published *
* by the Free Software Foundation; version 2 of the license, or (at *
...
...
@@ -35,18 +35,18 @@ static void test_meta (const char ** argv, int argc)
vlc
=
libvlc_new
(
argc
,
argv
,
&
ex
);
catch
();
media
=
libvlc_media_new
(
vlc
,
"samples/meta.sample"
,
&
ex
);
media
=
libvlc_media_new
(
vlc
,
"samples/meta.sample"
,
&
ex
);
/* Tell that we are interested in this precise meta data */
artist
=
libvlc_media_get_meta
(
media
,
libvlc_meta_Artist
,
&
ex
);
artist
=
libvlc_media_get_meta
(
media
,
libvlc_meta_Artist
,
&
ex
);
catch
();
free
(
artist
);
/* Wait for the meta */
while
(
!
libvlc_media_is_preparsed
(
media
,
&
ex
))
{
catch
();
msleep
(
10000
);
}
while
(
!
libvlc_media_is_preparsed
(
media
,
&
ex
))
{
catch
();
msleep
(
10000
);
}
artist
=
libvlc_media_get_meta
(
media
,
libvlc_meta_Artist
,
&
ex
);
artist
=
libvlc_media_get_meta
(
media
,
libvlc_meta_Artist
,
&
ex
);
catch
();
assert
(
artist
&&
*
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