[Converter] set timestamp when buffer has invalid ts
authorJaeyun <jy1210.jung@samsung.com>
Fri, 26 Oct 2018 09:36:39 +0000 (18:36 +0900)
committerMyungJoo Ham <myungjoo.ham@gmail.com>
Mon, 29 Oct 2018 08:18:41 +0000 (08:18 +0000)
commitcad1a03bdd48a433ce3f18c4584ce12a8a8ab4e5
tree2239a01db3116c37d4bfd9159263a6e0ed4cc58c
parenteb9d8a1d30c2f85dfc49e3632a1c155b8f828399
[Converter] set timestamp when buffer has invalid ts

When set-timestamp is true and incoming buffer has invalid timestamp, set the timestamp using given framerate.
If caps does not include the framerate info, then it will set current time.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
gst/tensor_converter/tensor_converter.c
gst/tensor_converter/tensor_converter.h