[vlc-commits] test/media: remove libjpeg dependency

Thomas Guillem git at videolan.org
Sun Apr 17 07:22:32 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Thu Apr 14 17:18:40 2016 +0200| [ebda694ad444b6feded8f504aaae79102e6d2361] | committer: Thomas Guillem

test/media: remove libjpeg dependency

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

 test/libvlc/media.c |    6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/test/libvlc/media.c b/test/libvlc/media.c
index 8fb2291..fccd93e 100644
--- a/test/libvlc/media.c
+++ b/test/libvlc/media.c
@@ -66,11 +66,7 @@ static void test_media_preparsed(const char** argv, int argc)
     vlc_sem_destroy (&sem);
 
     // We are good, now check Elementary Stream info.
-    libvlc_media_track_t **tracks;
-    unsigned nb_tracks = libvlc_media_tracks_get (media, &tracks);
-    assert (nb_tracks == 1);
-    assert (tracks[0]->i_type == libvlc_track_video);
-    libvlc_media_tracks_release (tracks, nb_tracks);
+    assert (libvlc_media_get_parsed_status(media) == libvlc_media_parse_done);
 
     libvlc_media_release (media);
     libvlc_release (vlc);



More information about the vlc-commits mailing list