summaryrefslogtreecommitdiff
path: root/gst
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-08-26 12:05:16 +0100
commit89f5df1782ef607275ea04afba37ffed0b2fa2e9 (patch)
tree97d7ca6a77934c8c8afb43ee1d84e839ec0d0025 /gst
parentd18fff7ff5afd2534bc083e34d6f546b85be1a92 (diff)
g-i: info: allow passing NULL to gst_debug_remove_log_function()
Useful for removing the default handler from bindings.
Diffstat (limited to 'gst')
-rw-r--r--gst/gstinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/gstinfo.c b/gst/gstinfo.c
index 395fa712de..75b5e4c7a7 100644
--- a/gst/gstinfo.c
+++ b/gst/gstinfo.c
@@ -1253,7 +1253,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.
*