diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-07-16 14:35:17 +0200 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-07-16 14:35:17 +0200 |
commit | 2707890d1b8aee089bc3b8fd0f395735aff6261e (patch) | |
tree | 3cc9d4f7e2267ffb62076208d88232805927b512 /streamer.c | |
parent | 6815671a569f497665b39ab77ab5ab3b6d5438e8 (diff) |
moved more output->stop calls to streamer thread
Diffstat (limited to 'streamer.c')
-rw-r--r-- | streamer.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -419,6 +419,9 @@ stop_after_album_check (playItem_t *cur, playItem_t *next) { static int streamer_move_to_nextsong_real (int reason) { + if (reason) { + plug_get_output ()->stop (); + } trace ("streamer_move_to_nextsong (%d)\n", reason); pl_lock (); if (!streamer_playlist) { @@ -638,6 +641,7 @@ streamer_move_to_nextsong_real (int reason) { static int streamer_move_to_prevsong_real (void) { + plug_get_output ()->stop (); pl_lock (); if (streamer_playlist) { plt_unref (streamer_playlist); @@ -751,6 +755,7 @@ streamer_move_to_prevsong_real (void) { static int streamer_move_to_randomsong_real (void) { + plug_get_output ()->stop (); if (!streamer_playlist) { streamer_playlist = plt_get_curr (); } |