GNOME Bugzilla – Bug 619594
jp2k: add debug-level property
Last modified: 2012-10-21 21:48:04 UTC
Find attached a couple of patches to jasper, to fix some element details usage and to add a debug-level property.
Created attachment 161928 [details] [review] jp2k: use gst_element_class_set_details_simple
Created attachment 161929 [details] [review] jp2k: add debug-level property
(In reply to comment #2) > Created an attachment (id=161929) [details] [review] > jp2k: add debug-level property Shouldn't this be set in plugin_init() according to a GStreamer debug category? It seems it's a global and not a per-plugin setting.
Possibly; but gstreamer debug levels are settable at runtime, not just from env vars, and we don't get any callbacks when they change. Easiest to do it this way IMO, though I don't particularly care :)
Comment on attachment 161928 [details] [review] jp2k: use gst_element_class_set_details_simple This was already changed some time ago
Comment on attachment 161929 [details] [review] jp2k: add debug-level property I have to agree, this should be done in plugin_init() based on the GStreamer debug level. Also having a property on an instance that changes a global setting is wrong. Do you want to provide a new patch, is there still the need for this?
I don't work on J2K any more. Do what you want with this :-)
Let's just close it then ;-)