diff options
author | 2010-01-21 21:36:32 +0100 | |
---|---|---|
committer | 2010-01-21 21:47:56 +0100 | |
commit | 454f852f361477b0f365a9705574a700339497ac (patch) | |
tree | 24bf5f0a2239527c74d35fcf95b8c0dbfc284ada /streamer.c | |
parent | f89029d063c855b03adbcd20d09380fd42cb11c9 (diff) | |
parent | 4d12a12570876810d0376d31b280674b5c49054a (diff) |
Merge branch 'master' into devel
Conflicts:
Makefile.am
configure.ac
deadbeef.h
main.c
plugins/oss/Makefile.am
plugins/oss/oss.c
Diffstat (limited to 'streamer.c')
-rw-r--r-- | streamer.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -308,7 +308,10 @@ streamer_thread (void *ctx) { else if (pstate == 1) { last_bitrate = -1; avg_bitrate = -1; - p_play (); + if (p_play () < 0) { + fprintf (stderr, "streamer: failed to start playback; output plugin doesn't work\n"); + streamer_set_nextsong (-2, 0); + } } else if (pstate == 2) { p_pause (); |