aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/opus/decoder_opus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/Input/opus/decoder_opus.cpp')
-rw-r--r--src/plugins/Input/opus/decoder_opus.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/Input/opus/decoder_opus.cpp b/src/plugins/Input/opus/decoder_opus.cpp
index 3f0c11dd2..5a6ffdb78 100644
--- a/src/plugins/Input/opus/decoder_opus.cpp
+++ b/src/plugins/Input/opus/decoder_opus.cpp
@@ -119,7 +119,7 @@ bool DecoderOpus::initialize()
return false;
}
- m_chan = head->channel_count;
+ m_chan = head->channel_count;
ChannelMap chmap = findChannelMap(m_chan);
if(chmap.isEmpty())
@@ -127,6 +127,7 @@ bool DecoderOpus::initialize()
qWarning("DecoderOpus: unsupported number of channels: %d", m_chan);
return false;
}
+ setProperty(Qmmp::FORMAT_NAME, "Ogg Opus");
configure(48000, chmap, Qmmp::PCM_FLOAT); //opus codec supports 48 kHz only
return true;
}