timecodestamper: Add last-known-or-zero mode
authorSebastian Dröge <sebastian@centricular.com>
Wed, 23 Oct 2019 11:31:16 +0000 (14:31 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Wed, 23 Oct 2019 13:48:26 +0000 (16:48 +0300)
commit96aa9b5633f08fdd9c699b0047e95133639213ba
tree9d941304c4d767832d518019858d696fed384a45
parentb57687a772917d3cd6d72080b1492d83b0f360ce
timecodestamper: Add last-known-or-zero mode

This uses the last known upstream timecode (counted up per frame), or
otherwise zero if none was known.

The normal last-known timestamp uses the internal timecode as fallback
if no upstream timecode was ever known.
gst/timecode/gsttimecodestamper.c
gst/timecode/gsttimecodestamper.h