plugins/multiqueue: Cache input/output time, avoid expensive calls.
authorEdward Hervey <bilboed@bilboed.com>
Mon, 28 Sep 2009 13:24:02 +0000 (15:24 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Wed, 7 Oct 2009 08:07:01 +0000 (10:07 +0200)
commitc15879f94ea047a64b3559fd74019076ca812556
tree779330bf15fdc0c7dbb050b33b4d42e70b22fa2e
parentcfb4aa462703865a651d9da1afddb688e896d8aa
plugins/multiqueue: Cache input/output time, avoid expensive calls.

* Cache the input/output time
* Only recalculate it when needed.

Avoids 50% calls to gst_segment_to_running_time
plugins/elements/gstmultiqueue.c