-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Open
Labels
type:build/installFor Build and Installation issuesFor Build and Installation issues
Description
Hello,
I declare my calculator contract this way:
static constexpr Input<GpuBuffer> kInputTick{ kTickTag };
static constexpr Input<GpuBuffer> kInputFallback{ kFallbackTag };
static constexpr Input<GpuBuffer>::Optional kInput{ kInputTag };
static constexpr Output<bool> kOutputPresence{ kPresenceTag };
static constexpr Output<GpuBuffer> kOutput{ kOutputTag };
MEDIAPIPE_NODE_CONTRACT(kInputTick, kInputFallback, kInput, kOutputPresence, kOutput);
During graph run i'm not supplying any packet to kInput tag, because i'm checking it presence in Process method (it declared Optional).
But problem is Process metod is not called for this calculator at all which causes whole graph deadlock.
How to setup graph node to call Process method even when some optional streams are missing?
I tried everything: cc->SetProcessTimestampBounds(true), cc->SetOffset(TimestampDiff(0)).
Nothing helps. Process method is never invoke for this calculator because it waits for kInput stream.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type:build/installFor Build and Installation issuesFor Build and Installation issues