diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2020-06-24 16:55:59 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2020-06-24 16:55:59 +0000 |
| commit | 0d919a16efda7db3a76765dbcdcb7574b6b3bb33 (patch) | |
| tree | a6683343f5b9b6b53e1024b6f022cddeaf8fb223 /src/plugins/Input/opus/decoder_opus.cpp | |
| parent | 1ee602e514927b7a7db427c4fcbedfded19c44e0 (diff) | |
| download | qmmp-0d919a16efda7db3a76765dbcdcb7574b6b3bb33.tar.gz qmmp-0d919a16efda7db3a76765dbcdcb7574b6b3bb33.tar.bz2 qmmp-0d919a16efda7db3a76765dbcdcb7574b6b3bb33.zip | |
show codec and bitrate for IceCast streams (#1046)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@9419 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/opus/decoder_opus.cpp')
| -rw-r--r-- | src/plugins/Input/opus/decoder_opus.cpp | 3 |
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; } |
