summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2016-08-26 12:04:33 +0100
committerTim-Philipp Müller <tim@centricular.com>2016-10-21 11:27:12 +0100
commit7b0cc5d76a99032d93954a37d71f5bf5423e0e24 (patch)
tree27b45cd477ce6bb0338e38d45115c351a178139b
parent8ec2c568877844e3a351d419cd30e4464f1e522d (diff)
downloadgstreamer-7b0cc5d76a99032d93954a37d71f5bf5423e0e24.tar.gz
g-i: info: allow passing NULL to gst_debug_remove_log_function()
Useful for removing the default handler from bindings.
-rw-r--r--gst/gstinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/gstinfo.c b/gst/gstinfo.c
index 8bfa33ba8a..10a9ecaebf 100644
--- a/gst/gstinfo.c
+++ b/gst/gstinfo.c
@@ -1248,7 +1248,8 @@ gst_debug_remove_with_compare_func (GCompareFunc func, gpointer data)
/**
* gst_debug_remove_log_function:
- * @func: (scope call): the log function to remove
+ * @func: (scope call) (allow-none): the log function to remove, or %NULL to
+ * remove the default log function
*
* Removes all registered instances of the given logging functions.
*