concat: Reset segment base offset after FLUSH_STOP with reset_time = TRUE
authorCarlos Rafael Giani <dv@pseudoterminal.org>
Thu, 11 Jun 2015 08:53:30 +0000 (10:53 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 11 Jun 2015 09:03:18 +0000 (11:03 +0200)
commit25c66e60045e44d50a591f5d62706f6f243bb9ca
tree01e9437b54c26a351a8eebd83988099cdd72df41
parent426a6ea6444e37422acb45b4b19e3165bf419b55
concat: Reset segment base offset after FLUSH_STOP with reset_time = TRUE

If the reset_time value of a FLUSH_STOP event is set to TRUE, the pipeline
will have the base_time of its elements reset. This means that the concat
element's current_start_offset has to be reset to 0, since it was
calculated with the old base-time in mind.

Only FLUSH_STOP events coming from the active pad are looked at.

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
plugins/elements/gstconcat.c