Hi All,
I am new to Gstreamer. I was confused when reading Plugin guide document about Plugin's state at http://gstreamer.freedesktop.org/data/doc/gstreamer/head/pwg/html/chapter-statemanage-states.html#section-statemanage-filters
At line :
ret = GST_ELEMENT_CLASS (parent_class)->change_state (element, transition);
in this line why we call parent_class->change_state? I read and get the explanation:" upwards (NULL=>READY, READY=>PAUSED, PAUSED=>PLAYING)
and downwards (PLAYING=>PAUSED, PAUSED=>READY, READY=>NULL) state changes are handled in two separate blocks with the downwards state change
handled only after we have chained up to the parent class's state change function. This is necessary in order to safely handle concurrent
access by multiple threads"
but actually I can't understand the mechanism.Please help me resolve this problem.Thanks
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel