tracer: add element-change-state-pre/post hook
authorThiago Santos <thiagoss@osg.samsung.com>
Thu, 29 Oct 2015 11:40:32 +0000 (08:40 -0300)
committerThiago Santos <thiagoss@osg.samsung.com>
Thu, 12 Nov 2015 18:39:26 +0000 (15:39 -0300)
commit82c1ec493163b4803a870fca1fed1c010d03fbba
tree7eb951fe0ffb35c276709ab6e3d32126605bcd13
parentb09e9592eccec1758b5db4e051f4b42a9e9e49d5
tracer: add element-change-state-pre/post hook

Helps catching when a state change is starting and ending.

It is also possible to track the end of state changes by checking the
async-done or state-change messages.
This is particularly important for elements that do async state changes.
gst/gstelement.c
gst/gsttracerutils.c
gst/gsttracerutils.h