[vlc-devel] commit: libvlc_test: fix compilation. ( Rémi Duraffort )
git version control
git at videolan.org
Fri Nov 13 19:55:35 CET 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Fri Nov 13 19:32:59 2009 +0100| [3a676aa9e707bf29b5bc28434f75c06243de555c] | committer: Rémi Duraffort
libvlc_test: fix compilation.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=3a676aa9e707bf29b5bc28434f75c06243de555c
---
test/libvlc/meta.c | 9 +++------
1 files changed, 3 insertions(+), 6 deletions(-)
diff --git a/test/libvlc/meta.c b/test/libvlc/meta.c
index 3743733..c969a01 100644
--- a/test/libvlc/meta.c
+++ b/test/libvlc/meta.c
@@ -44,20 +44,17 @@ static void test_meta (const char ** argv, int argc)
/* Tell that we are interested in this precise meta data
* This is needed to trigger meta data reading
* (the first calls return NULL) */
- artist = libvlc_media_get_meta (media, libvlc_meta_Artist, &ex);
- catch ();
+ artist = libvlc_media_get_meta (media, libvlc_meta_Artist);
free (artist);
/* Wait for the meta */
- while (!libvlc_media_is_preparsed (media, &ex))
+ while (!libvlc_media_is_preparsed (media))
{
- catch ();
usleep (10000);
}
- artist = libvlc_media_get_meta (media, libvlc_meta_Artist, &ex);
- catch ();
+ artist = libvlc_media_get_meta (media, libvlc_meta_Artist);
const char *expected_artist = "mike";
More information about the vlc-devel
mailing list