Changeset 62333c7c1ef803c55f125cab1b193a26d11c55e0
- Timestamp:
- 19/04/08 03:41:30
(6 months ago)
- Author:
- Pierre d'Herbemont <pdherbemont@videolan.org>
- git-committer:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1208569290 +0200
- git-parent:
[4c22822980aac3a89898f6aaa2fb117114adc4b0]
- git-author:
- Pierre d'Herbemont <pdherbemont@videolan.org> 1208569290 +0200
- Message:
test: Copyright and formatting in libvlc/meta.c.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r4c22822 |
r62333c7 |
|
| 6 | 6 | |
|---|
| 7 | 7 | /********************************************************************** |
|---|
| 8 | | * Copyright (C) 2007 Rémi Denis-Courmont. * |
|---|
| | 8 | * Copyright (C) 2008 Pierre d'Herbemont. * |
|---|
| 9 | 9 | * This program is free software; you can redistribute and/or modify * |
|---|
| 10 | 10 | * it under the terms of the GNU General Public License as published * |
|---|
| … | … | |
| 36 | 36 | catch (); |
|---|
| 37 | 37 | |
|---|
| 38 | | media = libvlc_media_new ( vlc, "samples/meta.sample", &ex); |
|---|
| | 38 | media = libvlc_media_new (vlc, "samples/meta.sample", &ex); |
|---|
| 39 | 39 | |
|---|
| 40 | 40 | /* Tell that we are interested in this precise meta data */ |
|---|
| 41 | | artist = libvlc_media_get_meta( media, libvlc_meta_Artist, &ex ); |
|---|
| | 41 | artist = libvlc_media_get_meta (media, libvlc_meta_Artist, &ex); |
|---|
| 42 | 42 | catch (); |
|---|
| 43 | 43 | |
|---|
| … | … | |
| 45 | 45 | |
|---|
| 46 | 46 | /* Wait for the meta */ |
|---|
| 47 | | while (!libvlc_media_is_preparsed(media, &ex)) { catch (); msleep (10000); } |
|---|
| | 47 | while (!libvlc_media_is_preparsed (media, &ex)) { catch (); msleep (10000); } |
|---|
| 48 | 48 | |
|---|
| 49 | | artist = libvlc_media_get_meta( media, libvlc_meta_Artist, &ex ); |
|---|
| | 49 | artist = libvlc_media_get_meta (media, libvlc_meta_Artist, &ex); |
|---|
| 50 | 50 | catch (); |
|---|
| 51 | 51 | |
|---|