How to dispose a element in the ready state

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to dispose a element in the ready state

hcpwll
Dears,
        I have 3 elements in a sinkbin, sometimes the child element change state failed.
        So, I have overwrite the sinkbin change_state function.
        If the child change state failed, remove the child from the sinkbin, and trying to dispose the child element and free the resource.
        But the gstreamer core complaint that "Trying to dispose element XXX, but it is in the READY instead of the NULL"
        How to dispose this element?
Thanks!




_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel