Class BlockPipelineContext
- Namespace
- VisioForge.Core.MediaBlocks
- Assembly
- VisioForge.Core.dll
Shared context object that contains pipeline-wide resources, state, and configuration for MediaBlocks operations. This context is passed to all blocks in a pipeline to provide access to the underlying GStreamer pipeline, event handling, timing information, and cross-block communication. It serves as the central coordination point for pipeline lifecycle management and resource sharing.
public class BlockPipelineContextInheritance
Inherited Members
Fields
IsClosed
Flag indicating whether the pipeline context has been closed and is no longer active. Used to prevent operations on disposed or terminated pipeline contexts.
public bool IsClosedField Value
MainThread
Reference to the main application thread for ensuring thread-safe operations and UI updates. Used for marshaling callbacks and events back to the appropriate thread context.
public Thread MainThreadField Value
Pipeline
The main GStreamer pipeline object that orchestrates all media processing operations. This is the core pipeline instance that contains all GStreamer elements and manages data flow.
public Pipeline PipelineField Value
- Pipeline
PipelineGES
The GStreamer Editing Services (GES) pipeline used for non-linear video editing operations. This is only populated when the pipeline is used for video editing scenarios with timeline-based editing.
public Pipeline PipelineGESField Value
- Pipeline
Rate
The playback rate for the pipeline (1.0 = normal speed, 2.0 = double speed, 0.5 = half speed). This affects the speed of media processing and playback across all blocks in the pipeline.
public double RateField Value
SDKLink
Reference to the parent SDK object that owns this pipeline context. Provides access to higher-level SDK functionality and settings from within the pipeline.
public object SDKLinkField Value
OnStop
Event raised when the pipeline stops execution, either normally or due to an error. Provides information about the reason for stopping and allows for cleanup operations.
public event EventHandler<StopEventArgs> OnStop