gstreamer/gst
Tim-Philipp Müller 67e9d13950 info: fix performance issue with registering categories after gst_init()
When registering a new debug category after gst_init(), simply check
the existing patterns against that new category.

No need to iterate over all categories and recheck them all against
the existing patterns.

Also, no need to re-parse the existing pattern string set via GST_DEBUG
and add the same set of match patterns all over again to the existing
list of match patterns every time we register a new debug category.

Combined with iterating all debug categories on a change this would
make adding debug categories after gst_init() very very very slow.
2017-12-02 12:51:17 +00:00
..
parse meson: find python3 via python3 module 2017-07-07 12:07:09 +01:00
printf meson: require meson 0.36 and use new pic arg on static libs 2016-11-14 19:21:13 +00:00
.gitignore
gettext.h Fix FSF address 2012-11-03 20:44:48 +00:00
glib-compat-private.h Fix FSF address 2012-11-03 20:44:48 +00:00
glib-compat.c Whenever we include windows.h, also define WIN32_LEAN_AND_MEAN 2016-02-20 10:07:42 +00:00
glib-compat.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gst-i18n-app.h Fix FSF address 2012-11-03 20:44:48 +00:00
gst-i18n-lib.h Fix FSF address 2012-11-03 20:44:48 +00:00
gst.c gst: add a promise object 2017-11-23 00:48:30 +11:00
gst.h gst: add a promise object 2017-11-23 00:48:30 +11:00
gst_private.h plugin: API: GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_RELATIVE_TO_EXE 2017-09-26 13:12:00 +02:00
gstallocator.c allocator: Hide private sysmem GType func 2017-08-14 11:01:44 +01:00
gstallocator.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstatomicqueue.c introspection: add missing (nullable) annotations to return values 2014-06-26 18:56:38 +02:00
gstatomicqueue.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstbin.c bin: iterate_sorted: Ensure sources are always returned last 2017-10-03 07:56:39 +02:00
gstbin.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstbuffer.c gstbuffer: fix meta removal in gst_buffer_foreach_meta 2017-10-11 19:57:04 +02:00
gstbuffer.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstbufferlist.c bufferlist: add gst_buffer_list_calculate_size() 2017-09-17 12:35:25 +01:00
gstbufferlist.h bufferlist: add gst_buffer_list_calculate_size() 2017-09-17 12:35:25 +01:00
gstbufferpool.c gst: Clear floating flag in constructor of all GstObject subclasses that are not owned by any parent 2017-05-17 10:40:37 +03:00
gstbufferpool.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstbus.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gstbus.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstcaps.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstcaps.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstcapsfeatures.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstcapsfeatures.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstchildproxy.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstchildproxy.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstclock.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gstclock.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstcompat.h Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstconfig.h.in gstconfig.h.in: initial e2k arch support 2017-09-12 14:01:57 -04:00
gstcontext.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstcontext.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstcontrolbinding.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstcontrolbinding.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstcontrolsource.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gstcontrolsource.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstdatetime.c datetime: fix potential out-of-bound read on malformed datetime string 2017-01-15 11:53:41 +00:00
gstdatetime.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstdebugutils.c debugutils: add missing E character to the legend 2017-05-19 19:22:27 +02:00
gstdebugutils.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstdevice.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstdevice.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstdevicemonitor.c gst: Clear floating flag in constructor of all GstObject subclasses that are not owned by any parent 2017-05-17 10:40:37 +03:00
gstdevicemonitor.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstdeviceprovider.c device-provider: gst_device_provider_unhide_provider() always fails 2017-10-05 09:42:39 +01:00
gstdeviceprovider.h element/deviceprovider: Add instance getter functions for class properties 2017-08-17 14:13:39 +03:00
gstdeviceproviderfactory.c Don't use deprecated g_object_newv() 2017-04-08 09:49:59 +01:00
gstdeviceproviderfactory.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstdynamictypefactory.c Don't use deprecated g_object_newv() 2017-04-08 09:49:59 +01:00
gstdynamictypefactory.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstelement.c pad templates: Allow specifying GType 2017-11-22 16:44:08 +01:00
gstelement.h pad templates: Allow specifying GType 2017-11-22 16:44:08 +01:00
gstelementfactory.c Don't use deprecated g_object_newv() 2017-04-08 09:49:59 +01:00
gstelementfactory.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstelementmetadata.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gstenumtypes.c.template meson: use gnome.mkenums() with template files for enum file gen 2016-12-22 11:35:04 +00:00
gstenumtypes.h.template gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsterror.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsterror.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstevent.c event: Don't allow invalid SELECT_STREAMS event creation 2017-10-27 09:53:06 +02:00
gstevent.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstformat.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstformat.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstghostpad.c ghostpad: return TRUE if target pad was already set 2017-11-24 13:39:39 +01:00
gstghostpad.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstinfo.c info: fix performance issue with registering categories after gst_init() 2017-12-02 12:51:17 +00:00
gstinfo.h info: GstStackTraceFlags were added in 1.12 2017-09-17 18:55:43 +03:00
gstiterator.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstiterator.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstmacros.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gstmemory.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstmemory.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstmessage.c message: Don't pass a NULL debug string to g_utf8_validate() 2017-05-02 14:35:50 +03:00
gstmessage.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstmeta.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstmeta.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstminiobject.c miniobject: don't modify memory if it's clearly not a valid miniobject 2017-07-15 11:57:43 +01:00
gstminiobject.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstobject.c object: Add missing annotations to get_value_array() / get_value_g_array() 2017-05-22 12:01:41 +03:00
gstobject.h gst: add GST_DEPRECATED_FOR() and also export deprecated symbols 2017-05-15 23:14:20 +01:00
gstpad.c pad: gst_pad_activate_mode() always succeed if same mode 2017-11-24 13:40:31 +01:00
gstpad.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstpadtemplate.c tools: gst-inspect: print pad properties where we know the subclass type 2017-11-26 00:17:27 +00:00
gstpadtemplate.h pad templates: Allow specifying GType 2017-11-22 16:44:08 +01:00
gstparamspecs.c paramspec: Move condition check inside the g_return 2017-11-10 12:09:41 -05:00
gstparamspecs.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstparse.c parse: Make gst_parse_context_copy() public for bindings 2017-05-20 19:43:18 +03:00
gstparse.h parse: Make gst_parse_context_copy() public for bindings 2017-05-20 19:43:18 +03:00
gstpipeline.c element: Add missing values for "to same" state changes 2017-06-20 09:33:25 -04:00
gstpipeline.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstplugin.c plugin-scanner: Measure string length in bytes 2017-12-01 13:42:00 -05:00
gstplugin.h plugin: API: GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_RELATIVE_TO_EXE 2017-09-26 13:12:00 +02:00
gstpluginfeature.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstpluginfeature.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstpluginloader.c plugin: API: GST_PLUGIN_DEPENDENCY_FLAG_PATHS_ARE_RELATIVE_TO_EXE 2017-09-26 13:12:00 +02:00
gstpluginloader.h Headers: add missing includes. 2015-08-15 13:17:07 +02:00
gstpoll.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstpoll.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstpreset.c Revert "preset: Do not save deprecated properties" 2017-11-26 13:31:58 -03:00
gstpreset.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstpromise.c gst: add a promise object 2017-11-23 00:48:30 +11:00
gstpromise.h gst: add a promise object 2017-11-23 00:48:30 +11:00
gstprotection.c protection: add function to filter system ids 2017-06-28 10:52:11 +01:00
gstprotection.h protection: add function to filter system ids 2017-06-28 10:52:11 +01:00
gstquark.c events: Implement the stream-group-done event 2016-07-25 20:22:20 +10:00
gstquark.h events: Implement the stream-group-done event 2016-07-25 20:22:20 +10:00
gstquery.c query: doc consistency 2017-10-02 13:14:21 +02:00
gstquery.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstregistry.c gst: Correctly annotate functions taking floating reference parameters and returning floating references 2017-05-17 10:40:37 +03:00
gstregistry.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstregistrybinary.c dynamic types: Implement dynamic types in the registry 2016-11-02 11:21:37 +11:00
gstregistrybinary.h tracer: initial prototype for the tracing subsystem 2015-10-05 20:59:39 +02:00
gstregistrychunks.c registrychunks: Make sure we use aligned memory 2017-11-20 17:01:04 +01:00
gstregistrychunks.h dynamic types: Implement dynamic types in the registry 2016-11-02 11:21:37 +11:00
gstsample.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gstsample.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstsegment.c Revert "segment: also intialize the duration" 2017-10-20 16:11:44 +02:00
gstsegment.h segment: clarify the segment docs for the duration 2017-10-20 16:15:01 +02:00
gststreamcollection.c gst: Clear floating flag in constructor of all GstObject subclasses that are not owned by any parent 2017-05-17 10:40:37 +03:00
gststreamcollection.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gststreams.c gst: Clear floating flag in constructor of all GstObject subclasses that are not owned by any parent 2017-05-17 10:40:37 +03:00
gststreams.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gststructure.c structure: add a todo comment 2017-10-02 16:23:31 +02:00
gststructure.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gstsystemclock.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gstsystemclock.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttaglist.c taglist: Avoid assertions when getting tag nick from unregister tag 2017-11-26 12:53:54 -03:00
gsttaglist.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttagsetter.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttagsetter.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttask.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gsttask.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttaskpool.c gst: Don't ref_sink() GstObject subclasses in instance_init/constructor 2017-05-17 10:40:37 +03:00
gsttaskpool.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttoc.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttoc.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttocsetter.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttocsetter.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttracer.c Don't use deprecated g_object_newv() 2017-04-08 09:49:59 +01:00
gsttracer.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttracerfactory.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttracerfactory.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttracerrecord.c gst: Clear floating flag in constructor of all GstObject subclasses that are not owned by any parent 2017-05-17 10:40:37 +03:00
gsttracerrecord.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttracerutils.c gsttraceutils: actually disable tracing system hooks if configured 2017-11-24 13:40:34 +01:00
gsttracerutils.h gsttraceutils: actually disable tracing system hooks if configured 2017-11-24 13:40:34 +01:00
gsttypefind.c Don't use deprecated g_object_newv() 2017-04-08 09:49:59 +01:00
gsttypefind.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsttypefindfactory.c Port gtk-doc comments to their equivalent markdown syntax 2017-01-27 16:36:38 -03:00
gsttypefindfactory.h gst: mark symbols explicitly for export with GST_EXPORT 2017-05-15 23:14:12 +01:00
gsturi.c meson: fix tests build with --werror 2017-06-15 10:53:11 +01:00
gsturi.h meson: fix tests build with --werror 2017-06-15 10:53:11 +01:00
gstutils.c gstutils: Fix linear regression comparision 2017-11-24 15:40:14 +01:00
gstutils.h utils: add gst_utils_dump_buffer() 2017-11-24 13:40:33 +01:00
gstvalue.c gstvalue: allocate slightly larger than needed tables at startup 2017-11-23 13:56:51 +01:00
gstvalue.h gstvalue: Cast GST_MAKE_FOURCC arguments 2017-10-31 12:02:18 +01:00
gstversion.h.in gstversion: Add missing include in .in file. 2015-08-15 13:26:12 +02:00
Makefile.am gst: add a promise object 2017-11-23 00:48:30 +11:00
math-compat.h Fix FSF address 2012-11-03 20:44:48 +00:00
meson.build gst: add a promise object 2017-11-23 00:48:30 +11:00