Skip to content

basesink: don't post messages on the bus from base sink setter functions during object construction

Implement @thaytan's proposal from #2794 (comment 1996059)


Note: gstobject: add CONSTRUCTED flag was merged separately already.

    basesink: don't post messages in setters if object not constructed yet
    
    Don't do extra work like posting messages on the bus and such in
    _set_processing_deadline() and _set_render_delay() if we're being
    called from a subclass instance init function and the object isn't
    fully constructed yet (and shouldn't be passed to outside code yet).
    element: don't post messages while element is still being constructed
Edited by Tim-Philipp Müller

Merge request reports