Use shared live encoder types in stream publication
This commit is contained in:
1 parent
dca1adc173
commit
45720ebaba
3 files changed
+7
-7
No files matched your search
@@ -120,7 +120,7 @@ void StreamPublishWindow::refreshSources() {
|
||||
}
|
||||
void StreamPublishWindow::refreshCodecs() {
|
||||
m_updating = true; int previous = m_codec->currentData().toInt(); m_codec->clear();
|
||||
for (int codec : m_engine->codecs()) m_codec->addItem(StreamVideoEncoder::codecName(codec), codec);
|
||||
for (int codec : m_engine->codecs()) m_codec->addItem(LiveVideoEncoder::codecName(codec), codec);
|
||||
int index = m_codec->findData(previous); if (index >= 0) m_codec->setCurrentIndex(index);
|
||||
m_updating = false; synchronize();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user