Re: patch-review



David Nečas (Yeti) wrote:
> On Fri, Aug 10, 2007 at 10:03:05PM +0300, Stefan Kost wrote:
>> The issue is that probably lots of libs need to call some foreign init. If I
>> e.g. don't do that for gst_init (gstreamer) that all my gstreamer subclassed
>> types would show up as gobjects.
> 
> I think we found a way to get the code there, although it
> is a bit ugly.
> 
> However, I am still curious why automatic parent type
> registration and resolution does not work for you. Try the
> attached program (it does not call gst_init() or anything)
> and tell me where it gets the types wrong -- or explain what
> `would show up as gobjects' means, they are GObject based,
> aren't they?
> 
> (It prints a thread-initialization error, but that's another
> matter.)
> 
> Yeti
> 
Here it is (ignome the gst_xml_get_type as I have a xml free gstreamer). And I
tried again this morning and with fresh eayes I saw that it worked, but becauses
the types are not alphabetically sorted I missed it. I would like to change it
so that it sorts the generated types (and also the generated sections file).

Stefan

> ./gsttypes

(process:14880): GLib-CRITICAL **: g_thread_pool_new: assertion
`g_thread_supported ()' failed
Cannot get gst_xml_get_type: `gst_xml_get_type': ./gsttypes: undefined symbol:
gst_xml_get_type
==== INSTANTIABLE ====
GstAdapter -> GObject
GstBin[element-added][element-removed] -> GstElement -> GstObject -> GObject
GstBuffer -> GstMiniObject
GstBus[sync-message][message] -> GstObject -> GObject
GstCollectPads -> GstObject -> GObject
GstController -> GObject
GstDataQueue[empty][full] -> GObject
GstElementFactory -> GstPluginFeature -> GstObject -> GObject
GstEvent -> GstMiniObject
GstGhostPad -> GstProxyPad -> GstPad -> GstObject -> GObject
GstIndexFactory -> GstPluginFeature -> GstObject -> GObject
GstIndex[entry-added] -> GstObject -> GObject
GstMessage -> GstMiniObject
GstNetClientClock -> GstSystemClock -> GstClock -> GstObject -> GObject
GstNetTimeProvider -> GstObject -> GObject
GstPad[linked][unlinked][request-link][have-data] -> GstObject -> GObject
GstPadTemplate[pad-created] -> GstObject -> GObject
GstPipeline -> GstBin -> GstElement -> GstObject -> GObject
GstPlugin -> GstObject -> GObject
GstPushSrc -> GstBaseSrc -> GstElement -> GstObject -> GObject
GstQuery -> GstMiniObject
GstRegistry[plugin-added][feature-added] -> GstObject -> GObject
GstSystemClock -> GstClock -> GstObject -> GObject
GstTask -> GstObject -> GObject
GstTypeFindFactory -> GstPluginFeature -> GstObject -> GObject
==== ABSTRACT ====
GstBaseSink -> GstElement -> GstObject -> GObject
GstBaseSrc -> GstElement -> GstObject -> GObject
GstBaseTransform -> GstElement -> GstObject -> GObject
GstClock -> GstObject -> GObject
GstElement[pad-added][pad-removed][no-more-pads] -> GstObject -> GObject
GstMiniObject
GstObject[parent-set][parent-unset][deep-notify] -> GObject
GstPluginFeature -> GstObject -> GObject
==== INTERFACES ====
GstChildProxy[child-added][child-removed] -> GInterface
GstImplementsInterface -> GInterface
GstTagSetter -> GInterface
GstURIHandler[new-uri] -> GInterface
==== SIMPLE ====
GstActivateMode -> GEnum
GstAllocTraceFlags -> GFlags
GstAssocFlags -> GFlags
GstBinFlags -> GFlags
GstBufferFlag -> GFlags
GstBusFlags -> GFlags
GstBusSyncReply -> GEnum
GstCapsFlags -> GFlags
GstCaps -> GBoxed
GstClockEntryType -> GEnum
GstClockFlags -> GFlags
GstClockReturn -> GEnum
GstCoreError -> GEnum
GstDate -> GBoxed
GstDebugColorFlags -> GEnum
GstDebugLevel -> GEnum
GstDPVersion -> GEnum
GstElementFlags -> GFlags
GstEventTypeFlags -> GFlags
GstEventType -> GEnum
GstFlowReturn -> GEnum
GstFormat -> GEnum
GstGError -> GBoxed
GstIndexCertainty -> GEnum
GstIndexEntry -> GBoxed
GstIndexEntryType -> GEnum
GstIndexFlags -> GFlags
GstIndexLookupMethod -> GEnum
GstIndexResolverMethod -> GEnum
GstIteratorItem -> GEnum
GstIteratorResult -> GEnum
GstLibraryError -> GEnum
GstMessageType -> GFlags
GstMiniObjectFlags -> GFlags
GstObjectFlags -> GFlags
GstPadDirection -> GEnum
GstPadFlags -> GFlags
GstPadLinkReturn -> GEnum
GstPadPresence -> GEnum
GstPadTemplateFlags -> GFlags
GstParseError -> GEnum
GstPipelineFlags -> GFlags
GstPluginError -> GEnum
GstPluginFlags -> GFlags
GstQueryType -> GEnum
GstRank -> GEnum
GstResourceError -> GEnum
GstSeekFlags -> GFlags
GstSeekType -> GEnum
GstSegment -> GBoxed
GstStateChange -> GEnum
GstStateChangeReturn -> GEnum
GstState -> GEnum
GstStaticCaps -> gpointer
GstStaticPadTemplate -> gpointer
GstStreamError -> GEnum
GstStructure -> GBoxed
GstTagFlag -> GEnum
GstTagList -> GBoxed
GstTagMergeMode -> GEnum
GstTaskState -> GEnum
GstTypeFind -> gpointer
GstTypeFindProbability -> GEnum
GstURIType -> GEnum
==== FUNDAMENTAL ====
GstDoubleRange
GstFourcc
GstFraction
GstFractionRange
GstIntRange
GstValueArray
GstValueList



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]