Make capture metadata event-driven
Stop querying GigabyteLib video and audio information for every captured frame. Refresh cached video metadata at open, start, format changes, and signal events, and refresh audio metadata at stream start. Ignore the vendor FrameCount fields as requested by the driver and library owner. Generate independent SDK delivery IDs for video and audio, reset them for every channel start, and document the new public frame_id semantics. Clarify diagnostic ownership with LIB, SDK, and APP log prefixes. Add frame-only video and audio path counters, separate application and SDK failures, remove redundant byte and timeout counters, and keep vendor GetFrame timing tightly scoped to the actual API calls. Update customer documentation and internal diagnostic text to match the event-driven metadata and SDK-owned frame IDs.
This commit is contained in:
@@ -25,6 +25,7 @@ protected:
|
||||
void highlightBlock(const QString &text) override
|
||||
{
|
||||
if (text.contains(QStringLiteral("SIGNAL_DISCONNECTED")) ||
|
||||
text.contains(QStringLiteral("No signal"), Qt::CaseInsensitive) ||
|
||||
text.contains(QStringLiteral("failed"), Qt::CaseInsensitive) ||
|
||||
text.contains(QStringLiteral("error"), Qt::CaseInsensitive))
|
||||
setFormat(0, text.size(), error_);
|
||||
@@ -167,8 +168,8 @@ void MainWindow::showPreviewWindow(int channel, bool fullscreen)
|
||||
if (!controller_->applyPreview(channel))
|
||||
controller_->logUiMessage(
|
||||
fullscreen
|
||||
? QStringLiteral("CH%1 Fullscreen Preview failed: unable to update preview window").arg(channel)
|
||||
: QStringLiteral("CH%1 Show Preview failed: unable to update preview window").arg(channel));
|
||||
? QStringLiteral("CH%1 [APP] Fullscreen preview failed | window update").arg(channel)
|
||||
: QStringLiteral("CH%1 [APP] Show preview failed | window update").arg(channel));
|
||||
}
|
||||
|
||||
void MainWindow::updateOutputFormatOptions(int changedChannel)
|
||||
|
||||
Reference in New Issue
Block a user