Commit 6989233a by 景炳强

support automatic selection the HD or 4K board-card

parent 0e9873a7
...@@ -277,6 +277,11 @@ void MomentaMedia::AddDevice(ComPtr<IDeckLink>& deckLink) ...@@ -277,6 +277,11 @@ void MomentaMedia::AddDevice(ComPtr<IDeckLink>& deckLink)
deviceName = DlToQString(displayName); deviceName = DlToQString(displayName);
DeleteString(displayName); DeleteString(displayName);
qDebug() << "available device " << deviceName << "\n";
if (deviceName.contains("DeckLink 8K Pro"))
return;
QRegExp rx("\\d+"); QRegExp rx("\\d+");
rx.indexIn(deviceName, 0); rx.indexIn(deviceName, 0);
QString deviceIdStr; QString deviceIdStr;
......
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