info: Deprecate gst_debug_category_free()
authorSebastian Dröge <sebastian@centricular.com>
Sun, 14 Jul 2019 18:36:00 +0000 (21:36 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 15 Jul 2019 08:35:07 +0000 (11:35 +0300)
commit04a73341409b35e95b130e4959e4d6da8b19f814
tree1d3194bc780df17cda8332e24b49c59bc42bd844
parentbe56bd9affcc8060eb445b93c3546a9c69140435
info: Deprecate gst_debug_category_free()

And change it to do nothing at all.

As debug categories don't use reference counting and they can be
retrieved from anywhere at any time by name, it is fundamentally unsafe
to free them at any point in time except for right before the end of the
process.

No code apart from a unit test seems to be currently using the function,
so deprecate it and also change it to do nothing at all.
gst/gstinfo.c
gst/gstinfo.h
tests/check/gst/gstinfo.c