[vlc-commits] test: player timer: fix disabled tests

Francois Cartegnie git at videolan.org
Mon Dec 14 09:31:18 UTC 2020


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Dec 10 11:35:08 2020 +0100| [0009bf351ba1905072027e13b0c3bb6ecf94ac16] | committer: Francois Cartegnie

test: player timer: fix disabled tests

all good for 4 months

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

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

diff --git a/test/src/player/player.c b/test/src/player/player.c
index 931b05a9c1..57e1bbbdfa 100644
--- a/test/src/player/player.c
+++ b/test/src/player/player.c
@@ -2854,10 +2854,6 @@ main(void)
     test_init();
 
     struct ctx ctx;
-    ctx_init(&ctx, 0);
-    test_audio_loudness_meter(&ctx);
-    ctx_destroy(&ctx);
-    return 0;
 
     /* Test with --aout=none --vout=none */
     ctx_init(&ctx, DISABLE_VIDEO_OUTPUT | DISABLE_AUDIO_OUTPUT);
@@ -2883,7 +2879,6 @@ main(void)
     test_programs(&ctx);
     test_timers(&ctx);
     test_teletext(&ctx);
-    test_audio_loudness_meter(&ctx);
 
     test_delete_while_playback(VLC_OBJECT(ctx.vlc->p_libvlc_int), true);
     test_delete_while_playback(VLC_OBJECT(ctx.vlc->p_libvlc_int), false);
@@ -2892,6 +2887,7 @@ main(void)
     /* Test with --no-video */
     ctx_init(&ctx, DISABLE_VIDEO);
     test_es_selection_override(&ctx);
+    test_audio_loudness_meter(&ctx);
 
     ctx_destroy(&ctx);
     return 0;



More information about the vlc-commits mailing list