[vlc-devel] commit: test: catch() a bit more, and send artist meta to log output. ( Pierre d'Herbemont )

git version control git at videolan.org
Sat Apr 19 04:01:48 CEST 2008


vlc | branch: master | Pierre d'Herbemont <pdherbemont at videolan.org> | Sat Apr 19 04:02:10 2008 +0200| [d37f47486ff09ea069a828142a13b14b66d2d192]

test: catch() a bit more, and send artist meta to log output.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d37f47486ff09ea069a828142a13b14b66d2d192
---

 test/libvlc/meta.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/test/libvlc/meta.c b/test/libvlc/meta.c
index 7bff22e..167a29c 100644
--- a/test/libvlc/meta.c
+++ b/test/libvlc/meta.c
@@ -36,6 +36,7 @@ static void test_meta (const char ** argv, int argc)
     catch ();
 
     media = libvlc_media_new (vlc, "samples/meta.sample", &ex);
+    catch ();
 
     /* Tell that we are interested in this precise meta data */
     artist = libvlc_media_get_meta (media, libvlc_meta_Artist, &ex);
@@ -51,6 +52,8 @@ static void test_meta (const char ** argv, int argc)
 
     assert (artist && *artist);
 
+    log ("+ got '%s' as Artist\n", artist);
+
     free (artist);
     libvlc_media_release (media);
     libvlc_release (vlc);




More information about the vlc-devel mailing list