[gstreamer-bugs] [Bug 604965] Gst.Application.GstResolveType is useless, or just very slow at best

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Dec 26 21:00:59 PST 2009


https://bugzilla.gnome.org/show_bug.cgi?id=604965
  GStreamer | gst-sharp | git

--- Comment #7 from Maarten Bosmans <mkbosmans at gmail.com> 2009-12-26 11:43:34 UTC ---
Created an attachment (id=150397)
 View: https://bugzilla.gnome.org/attachment.cgi?id=150397
 Review: https://bugzilla.gnome.org/review?bug=604965&attachment=150397

Only look for types in assemblies that reference gstreamer-sharp

Instead searching all types in all loaded assemblies and references one level
deep for the GTypeNameAttribute, only call GetTypes on assemblies which have
gsteamer-sharp in their chain of dependencies.

This excludes all the System.* and gtk-sharp DLLs from being examined and
reduces my previous reported times of 2250 and 700ms to 360ms for the first and
70ms for any following calls of GstResolveType.

Note that it makes use of System.Collections.Generic, which is only supported
in .NET 2.0 and later. Is this OK? If I recall correctly, gtk-sharp is dropping
support for the .NET 1.1 profile, so I guess it would be OK.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list