[vlc-devel] [PATCH] player: play all media before exiting
Romain Vimont
rom1v at videolabs.io
Thu Nov 14 16:12:53 CET 2019
When --play-and-exit is set, exit only once there are no more media to
play (do not exit after the first one).
Fixes #23038
---
src/player/player.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/player/player.c b/src/player/player.c
index d624f7e345..7173c92f66 100644
--- a/src/player/player.c
+++ b/src/player/player.c
@@ -54,9 +54,7 @@ vlc_player_PrepareNextMedia(vlc_player_t *player)
{
vlc_player_assert_locked(player);
- if (!player->media_provider
- || player->media_stopped_action != VLC_PLAYER_MEDIA_STOPPED_CONTINUE
- || player->next_media_requested)
+ if (!player->media_provider || player->next_media_requested)
return;
assert(player->next_media == NULL);
--
2.24.0
More information about the vlc-devel
mailing list