Skip to content
Snippets Groups Projects
Commit c5fcb54e authored by zuul's avatar zuul Committed by Gerrit Code Review
Browse files

Merge "res/res_stasis_playback: Cancel the entire playlist when a stop occurs"

parents cc7e9781 e769c19a
No related branches found
No related tags found
No related merge requests found
...@@ -370,6 +370,9 @@ static void play_on_channel(struct stasis_app_playback *playback, ...@@ -370,6 +370,9 @@ static void play_on_channel(struct stasis_app_playback *playback,
playback_final_update(playback, offsetms, res, playback_final_update(playback, offsetms, res,
ast_channel_uniqueid(chan)); ast_channel_uniqueid(chan));
if (res == AST_CONTROL_STREAM_STOP) {
break;
}
/* Reset offset for any subsequent media */ /* Reset offset for any subsequent media */
offsetms = 0; offsetms = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment