Callbacks

CheckLogFilterFunc (log_domain, log_level, message, *user_data)

HarnessPrepareBufferFunc (h, data)

HarnessPrepareEventFunc (h, data)

Details

GstCheck.CheckLogFilterFunc(log_domain, log_level, message, *user_data)
Parameters:
  • log_domain (str) – the log domain of the message

  • log_level (GLib.LogLevelFlags) – the log level of the message

  • message (str) – the message that has occurred

  • user_data (object or None) – user data

Returns:

True if message should be discarded by GstCheck.

Return type:

bool

A function that is called for messages matching the filter added by gst_check_add_log_filter.

New in version 1.12.

GstCheck.HarnessPrepareBufferFunc(h, data)
Parameters:
Return type:

Gst.Buffer

New in version 1.6.

GstCheck.HarnessPrepareEventFunc(h, data)
Parameters:
Return type:

Gst.Event

New in version 1.8.