mirror of
https://github.com/clementine-player/Clementine
synced 2025-02-03 12:47:31 +01:00
Network remote: Only start transcoder when we actually have something to transcode.
This commit is contained in:
parent
c152bc26d9
commit
a0f24dff86
@ -114,9 +114,12 @@ void SongSender::TranscodeLosslessFiles() {
|
||||
total_transcode_++;
|
||||
}
|
||||
|
||||
transcoder_->Start();
|
||||
|
||||
SendTranscoderStatus();
|
||||
if (total_transcode_ > 0) {
|
||||
transcoder_->Start();
|
||||
SendTranscoderStatus();
|
||||
} else {
|
||||
StartTransfer();
|
||||
}
|
||||
}
|
||||
|
||||
void SongSender::TranscodeJobComplete(const QString& input, const QString& output, bool success) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user