timecodestamper: Add seeking support
authorThibault Saunier <tsaunier@igalia.com>
Fri, 21 Feb 2020 16:12:39 +0000 (13:12 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Wed, 4 Mar 2020 12:36:45 +0000 (12:36 +0000)
commita0423ee20f166c3fa0fffc90700fcfbfa3e19530
tree5716e2d156a0c0f027a4aacabd57ce1342dc43c0
parent905988c63f2a2b12955b4a5f4981c218218137a8
timecodestamper: Add seeking support

The approach is quite simple and doesn't take all use cases into account,
it only implements support when we are using the internal timecode we
create ourself.

Also the way we compute the sought frame count is naive, but it works
for simple cases.
gst/timecode/gsttimecodestamper.c
gst/timecode/gsttimecodestamper.h