Commit df619472 by 景炳强

remove "NDI" label's name

parent 6989233a
......@@ -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);
......@@ -352,9 +352,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_unique<NDIOutputThread>(NDINameLabel->text(), 1920, 1080);
NDIOutput = std::make_unique<NDIOutputThread>(QString("NDI")+ NDINameLabel->text(), 1920, 1080);
connect(Capture.get(), SIGNAL(PushFrame(std::shared_ptr<Image>)), NDIOutput.get(), SLOT(AddFrame(std::shared_ptr<Image>)));
END_SLOT_TIME_COUNTER
......
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