diff options
Diffstat (limited to 'src/inputPlugins/mp3_plugin.c')
-rw-r--r-- | src/inputPlugins/mp3_plugin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inputPlugins/mp3_plugin.c b/src/inputPlugins/mp3_plugin.c index b008a1dd9..76d226b00 100644 --- a/src/inputPlugins/mp3_plugin.c +++ b/src/inputPlugins/mp3_plugin.c @@ -857,6 +857,7 @@ static int mp3Read(mp3DecodeData * data, OutputBuffer * cb, DecoderControl * dc, clearOutputBuffer(cb); data->muteFrame = 0; dc->seek = 0; + decoder_wakeup_player(); } break; default: @@ -972,10 +973,12 @@ static int mp3Read(mp3DecodeData * data, OutputBuffer * cb, DecoderControl * dc, dc->seekError = 1; data->muteFrame = 0; dc->seek = 0; + decoder_wakeup_player(); } } else if (dc->seek && !data->inStream->seekable) { dc->seek = 0; dc->seekError = 1; + decoder_wakeup_player(); } } @@ -1082,6 +1085,7 @@ static int mp3_decode(OutputBuffer * cb, DecoderControl * dc, if (dc->seek && data.muteFrame == MUTEFRAME_SEEK) { clearOutputBuffer(cb); dc->seek = 0; + decoder_wakeup_player(); } flushOutputBuffer(cb); |