Commit cd71f366 by 景炳强

remove "NDI" label's name

parent 94cac13f
......@@ -70,7 +70,7 @@ DeckLinkInputPage::DeckLinkInputPage() : SelectedDevice(nullptr), NDIOutput(null
FormLayout->addRow("Auto-Detect Format:", AutoDetectCheckBox);
NDINameLabel = new QLabel();
FormLayout->addRow("NDIOutputLabel:", NDINameLabel);
FormLayout->addRow("OutputLabel:", NDINameLabel);
PrewCheckBox = new QCheckBox();
PrewCheckBox->setChecked(false);
......@@ -353,9 +353,9 @@ void DeckLinkInputPage::DetectedVideoFormatChanged(BMDDisplayMode displayMode)
void DeckLinkInputPage::ObjectNameChanged(const QString& newName)
{
START_SLOT_TIME_COUNTER
NDINameLabel->setText(QString("NDIOutput") + newName.at(newName.size() - 1));
NDINameLabel->setText(QString("Output") + newName.at(newName.size() - 1));
NDIOutput = std::make_shared<NDIOutputThread>(NDINameLabel->text(), 1920, 1080);
NDIOutput = std::make_shared<NDIOutputThread>(QString("NDI") + NDINameLabel->text(), 1920, 1080);
//SelectedDevice.Get()->SetNDIOutputThread(NDIOutput);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment