diff options
author | Alexey Yakovenko <wakeroid@gmail.com> | 2009-10-01 20:46:26 +0200 |
---|---|---|
committer | Alexey Yakovenko <wakeroid@gmail.com> | 2009-10-01 20:46:26 +0200 |
commit | 6303b539693d1c3aa58c0164e5a9799953abef41 (patch) | |
tree | e22ea9989cd944b68fb7ef9247c84d7be28f3c19 /streamer.c | |
parent | 7c646ffa127e4cca5a3c602cba7c9940f9c67668 (diff) |
improved curl seeking
fixed abnormal termination/hang if curl streamer was active
added id3v2 reading for streaming mp3s
Diffstat (limited to 'streamer.c')
-rw-r--r-- | streamer.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -354,6 +354,12 @@ streamer_thread (uintptr_t ctx) { // trace ("fill: %d/%d\n", streambuffer_fill, STREAM_BUFFER_SIZE); } + // stop streaming song + if(str_streaming_song.decoder) { + str_streaming_song.decoder->free (); + } + pl_item_free (&str_streaming_song); + pl_item_free (&str_playing_song); if (src) { src_delete (src); src = NULL; |