VideoConverter.setConfig

bool setConfig(gst.structure.Structure config)

Set config as extra configuration for convert.

If the parameters in config can not be set exactly, this function returns false and will try to update as much state as possible. The new state can then be retrieved and refined with [gstvideo.video_converter.VideoConverter.getConfig].

Look at the GST_VIDEO_CONVERTER_OPT_* fields to check valid configuration option and values.

Parameters

configa #GstStructure

Returns

true when config could be set.