segment: add offset field
authorWim Taymans <wim.taymans@collabora.co.uk>
Fri, 27 Jul 2012 15:09:45 +0000 (17:09 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Fri, 27 Jul 2012 15:09:45 +0000 (17:09 +0200)
commitc8840b8270a463caee18fc8c5fccf242345eeebf
tree6ed9bfb147e60e486fc6b1f8602525a1c55a540b
parentf05b0e222f9cf4fff35327c7d109be42fbf27eb7
segment: add offset field

Add an offset field that is used to track at what position the segment was
updated. This is used to set the running time to 0 when we do a flushing
seek that doesn't update the position.

See https://bugzilla.gnome.org/show_bug.cgi?id=680306
gst/gstsegment.c
gst/gstsegment.h
tests/check/gst/gstsegment.c