From: Jaeyun Date: Thu, 27 Sep 2018 10:09:33 +0000 (+0900) Subject: [Mux] fix coverity issue (1029508) X-Git-Tag: v0.0.2~57 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c9d099b59395c298152489d4c97a309c2306b6f1;p=platform%2Fupstream%2Fnnstreamer.git [Mux] fix coverity issue (1029508) Add log message and remove unnecessary state. Signed-off-by: Jaeyun Jung --- diff --git a/gst/tensor_mux/gsttensormux.c b/gst/tensor_mux/gsttensormux.c index 89cfcc5..faa902f 100644 --- a/gst/tensor_mux/gsttensormux.c +++ b/gst/tensor_mux/gsttensormux.c @@ -463,8 +463,11 @@ gst_tensor_mux_collected (GstCollectPads * pads, GstTensorMux * tensor_mux) } ret = gst_pad_push (tensor_mux->srcpad, tensors_buf); - if (ret != GST_FLOW_OK) - goto beach; + if (ret != GST_FLOW_OK) { + GST_WARNING_OBJECT (tensor_mux, "pushed outbuf, result = %s", + gst_flow_get_name (ret)); + /* fall-through, returns result */ + } beach: return ret; nego_error: