projects
/
platform
/
upstream
/
nnstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0ab11fd
)
[Edge/CodeClean] remove unnecessary connection timeout
author
Jaeyun Jung
<jy1210.jung@samsung.com>
Mon, 8 Apr 2024 08:10:52 +0000
(17:10 +0900)
committer
Sangjung Woo
<again4you@gmail.com>
Thu, 11 Apr 2024 06:04:13 +0000
(15:04 +0900)
Fix svace issue, remove unnecessary code to check connection timeout.
Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
gst/edge/edge_sink.c
patch
|
blob
|
history
diff --git
a/gst/edge/edge_sink.c
b/gst/edge/edge_sink.c
index
eae004f
..
d355a53
100644
(file)
--- a/
gst/edge/edge_sink.c
+++ b/
gst/edge/edge_sink.c
@@
-341,11
+341,6
@@
gst_edgesink_start (GstBaseSink * basesink)
remaining -= 10;
}
- if (remaining > 0 &&
- NNS_EDGE_ERROR_NONE != nns_edge_is_connected (self->edge_h)) {
- g_usleep (remaining * 1000U);
- }
-
if (NNS_EDGE_ERROR_NONE != nns_edge_is_connected (self->edge_h)) {
nns_loge ("Failed to connect to edgesrc within timeout: %ju ms",
self->connection_timeout);