Returns a pipeline suitable for rendering the current frame of the given video sink.
The pipeline will already have the textures for the frame attached. For simple rendering, an application will typically call this function immediately before it paints the video. It can then just paint a rectangle using the returned pipeline.
An application is free to make a copy of this pipeline and modify it for custom rendering.
Note: it is considered an error to call this function before the pipeline_ready signal is emitted.
this |
The VideoSink |
the pipeline for rendering the current frame |