Project

General

Profile

Actions

Support Request #680

closed

ADTFS-46869 Technical request: Video stream example - permanent locked sample object

Added by hidden almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Customer:
ELEKTROBIT
Department:
SUPPORT
Requester's Priority:
Normal
Support Level:
3rd Level
Resolution:
Solved Issue
Product Issue Numbers:
Affected Products:
Platform:
Windows 7 64bit
Topic:
ADTF::Common
FAQ Links:

Description

Supportanfrage:

ADTF 3.0.1

Ein Kunde berichtet von folgendem warning:

'To test the setup I used your "Demo Sample Data Reference Source" and "Demo Qt Video Display" example. When the project is launched via GUI Control, I get the warning/error "[WARNING]: The last sample is still referenced, cannot update buffer! [demo_sample_data_reference_source.cpp(87)]".'

Konnte ich soweit reproduzieren, hab' mich auch ein wenig durch den Code gewühlt. Dachte zuerst, dass da das Unlock() vergessen werde, aber das scheinen ja alles typen zu sein, die beim destructor entsprechend unlocken sollten. Könnt ihr da ein wenig Licht ins Dunkel bringen, warum dieses sample noch gelockt bleibt?

Best regards - Beste Grüße,
Florian Obermeier
EB Assist ADTF Support-Team

Lösung:

Im Zusammenhang mit dem demo_sample_data_reference_source

// keep in mind that the video display keeps the sample until it receives a new one. So you
// cannot use it to display the images from this source.

kann das Qt Video Display für diesen Anwendungsfall nicht verwendet werden.

Filter dürfen Samples halten, sonst könnte z.B. auf das Qt Media Display nicht gezeichnet werden.
Falls der Kunde das Demo Qt Video Display verwenden möchte muss er dessen Code dementsprechend ändern bzw. muss die/der Applikation/Streaming Graph dementsprechend darauf abgestimmt sein.

Actions

Also available in: Atom PDF