timing done by ourselves. gst_clock seems to be too inaccurate in some occasions.