[Sink] update test example / macro for debug
authorjy1210.jung <jy1210.jung@samsung.com>
Tue, 7 Aug 2018 11:32:07 +0000 (20:32 +0900)
committer정재윤/언어이해Lab(SR)/Staff Engineer/삼성전자 <jy1210.jung@samsung.com>
Fri, 10 Aug 2018 06:09:49 +0000 (15:09 +0900)
commit48adae9a4afdfe360be445f68280917caa4dfeeb
treefa6e93dddc49d309c7a7e9fd2f20d1cbe856dd18
parent1b67c5100e8f4fbd70f8b0852e43c1f9c40d1404
[Sink] update test example / macro for debug

1. add test pipeline to test audio stream in sink example
   (default type 0 for video stream)
2. add definition for debug
3. fix pad caps for other/tensors

Do not use GstStaticCaps and gst_static_caps_get() as local variable

**Self evaluation:**
1. Build test: [ ]Passed [ ]Failed [*]Skipped
2. Run test: [ ]Passed [ ]Failed [*]Skipped

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
gst/tensor_sink/tensor_sink.c
nnstreamer_example/example_sink/nnstreamer_sink_example.c
tests/nnstreamer_sink/unittest_sink.cpp