decoder/opus: remove redundant decoder_timestamp() call
After seeking, the MPD core automatically refreshes the timestamp, and thus discards the value from decoder_timestamp().
This commit is contained in:
parent
9ca9341384
commit
bdc4ae2b86
@ -342,11 +342,7 @@ MPDOpusDecoder::Seek(OggSyncState &oy, double where_s)
|
||||
offset_type offset(where_granulepos * input_stream.GetSize()
|
||||
/ eos_granulepos);
|
||||
|
||||
if (!OggSeekPageAtOffset(oy, os, input_stream, offset))
|
||||
return false;
|
||||
|
||||
decoder_timestamp(decoder, where_s);
|
||||
return true;
|
||||
return OggSeekPageAtOffset(oy, os, input_stream, offset);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user