info: re-eval GST_DEBUG env var for late categories
authorStefan Sauer <ensonic@users.sf.net>
Wed, 28 Dec 2016 20:47:03 +0000 (21:47 +0100)
committerStefan Sauer <ensonic@users.sf.net>
Fri, 30 Dec 2016 11:10:15 +0000 (12:10 +0100)
commitee52459a5ed7e78f3796a4737374904194b5a5b1
treecec0a9cd3a2a7288124f4ec5497f87b6142f1597
parent68b6ff27eb8989988f8457d11e6747ff4209e287
info: re-eval GST_DEBUG env var for late categories

When registering a new debug category after _debug_init(), we need to
re check the GST_DEBUG filter settings again.
In addition when parsing the filter setting, we need to already bump up
the min-debug level to not suppress debug log statments that dynamically
register a category. This happens in libraries that use a function to
register a category on first use.
gst/gstinfo.c