[vlc-commits] [Git][videolan/vlc][master] test: src_player: comment tests duration

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Tue Jul 12 20:56:56 UTC 2022



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
c5115400 by Thomas Guillem at 2022-07-12T20:44:44+00:00
test: src_player: comment tests duration

Refs #27106

- - - - -


1 changed file:

- test/src/player/player.c


Changes:

=====================================
test/src/player/player.c
=====================================
@@ -1097,6 +1097,7 @@ test_programs(struct ctx *ctx)
     test_log("programs\n");
 
     vlc_player_t *player = ctx->player;
+    /* Long duration but this test doesn't wait for EOS */
     struct media_params params = DEFAULT_MEDIA_PARAMS(VLC_TICK_FROM_SEC(100));
     params.program_count = 3;
     player_set_next_mock_media(ctx, "media1", &params);
@@ -1264,6 +1265,7 @@ test_tracks(struct ctx *ctx, bool packetized)
     test_log("tracks (packetized: %d)\n", packetized);
 
     vlc_player_t *player = ctx->player;
+    /* Long duration but this test doesn't wait for EOS */
     struct media_params params = DEFAULT_MEDIA_PARAMS(VLC_TICK_FROM_SEC(100));
     params.track_count[VIDEO_ES] = 1;
     params.track_count[AUDIO_ES] = 9;
@@ -1375,6 +1377,7 @@ test_tracks_ids(struct ctx *ctx)
 
     vlc_player_t *player = ctx->player;
 
+    /* Long duration but this test doesn't wait for EOS */
     struct media_params params = DEFAULT_MEDIA_PARAMS(VLC_TICK_FROM_SEC(100));
     params.track_count[VIDEO_ES] = 9;
     params.track_count[AUDIO_ES] = 9;
@@ -1575,6 +1578,8 @@ test_titles(struct ctx *ctx, bool null_names)
     test_log("titles (null_names: %d)\n", null_names);
     vlc_player_t *player = ctx->player;
 
+    /* Long duration but this test seeks to the last chapter, so the test
+     * duration is 100sec / 2000 */
     struct media_params params = DEFAULT_MEDIA_PARAMS(VLC_TICK_FROM_SEC(100));
     params.title_count = 5;
     params.chapter_count = 2000;



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c5115400b3ebf0adda8efc7e7628b50649fcbeef

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/c5115400b3ebf0adda8efc7e7628b50649fcbeef
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list