set_default_sample


Description:

public void set_default_sample (Bool default_sample)

By default the pipeline generated by setup_pipeline and get_pipeline will have a layer with a shader snippet that automatically samples the video.

If the application wants to sample the video in a completely custom way using its own shader snippet it can set default_sample to false to avoid this default snippet being added. In that case the application's snippet can call cogl_gst_sample_video0 to sample the texture itself.

Parameters:

this

The VideoSink

default_sample

Whether to add the default sampling