[Convert] Tested and fixed with videotestsrc
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 2 Apr 2018 07:24:06 +0000 (16:24 +0900)
committer함명주/동작제어Lab(SR)/Principal Engineer/삼성전자 <myungjoo.ham@samsung.com>
Wed, 4 Apr 2018 02:22:26 +0000 (11:22 +0900)
commitb74b8739710f53178925c7a8b86a312eb8197509
tree37e64955f8f850a68cde77017283f18f7c263681
parent878fe23f64515c6a907a6e9f8a40eb1dd15a5866
[Convert] Tested and fixed with videotestsrc

This is not an issue. Don't be alarmed.
- Regardless of videotestsrc framerate, convert2tensor gives ~1000 FPS outputs.
  . This happens when a sink-element attached at the src-pad of this element is not synching. Add sync option to the sink element.

How-to-test:
$ gst-launch-1.0 --gst-plugin-path=/PATH_TO_BUILT_SO videotestsrc ! video/x-raw,width=280,height=40,framerate=1/1 ! convert2tensor ! filesink location="test.log" sync=true

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
convert2tensor/CMakeLists.txt
convert2tensor/convert2tensor.c