GNOME Bugzilla – Bug 757045
tracer: Emit 'element-new' hook when using parse_launch
Last modified: 2015-10-29 10:38:29 UTC
Otherwise we will miss that info
Created attachment 314001 [details] [review] tracer: Emit 'element-new' hook when using parse_launch
Comment on attachment 314001 [details] [review] tracer: Emit 'element-new' hook when using parse_launch Shouldn't that hook be emitted by something else then? Like GstElement's GObject::constructed() vfunc? We otherwise also miss elements that have no factory and are created by g_object_new() with the GType.
Created attachment 314341 [details] [review] element: emit tracer's element-new hook from 'constructed' Was also in need with this so here's the patch I'm using
Review of attachment 314341 [details] [review]: I should have proposed my new version of that patch, anyway thanks :)
commit 973cd86c99fadf3583ba0b27e5c785f1dc3c5860 Author: Thiago Santos <thiagoss@osg.samsung.com> Date: Wed Oct 28 17:31:07 2015 -0300 element: emit tracer's element-new hook from 'constructed' It allows to properly emitting it for all newly created elements https://bugzilla.gnome.org/show_bug.cgi?id=757045