[Transform] nego failure with appsrc
authorJaeyun <jy1210.jung@samsung.com>
Thu, 2 Jul 2020 08:18:38 +0000 (17:18 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 3 Jul 2020 01:43:38 +0000 (10:43 +0900)
commit6a0d02f7f82357c3d069b5bcf2b8cd511fe1fb26
tree698a9ffe02f9fe6dfcea22e2b84843478ab6d3ad
parenteb500fb8d84734299738330585fff04054e46c66
[Transform] nego failure with appsrc

When pushing the data directly from appsrc to tensor-transform (with typecast option), caps-negotiation failed and cannot run the pipeline.
To fix this, set type to unknown when direction is src pad.

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
gst/nnstreamer/tensor_transform/tensor_transform.c