]> git.sesse.net Git - vlc/commitdiff
test: Copyright and formatting in libvlc/meta.c.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 19 Apr 2008 01:41:30 +0000 (03:41 +0200)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 19 Apr 2008 01:41:30 +0000 (03:41 +0200)
test/libvlc/meta.c

index 4f760ce87f67f378e950e849eafe4a01e30fe2ef..7bff22ee457d43ec3b8bd0e4cb985b447b752e80 100644 (file)
@@ -5,7 +5,7 @@
  */
 
 /**********************************************************************
- *  Copyright (C) 2007 RĂ©mi Denis-Courmont.                           *
+ *  Copyright (C) 2008 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);