Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit cc2acef

Browse files
authored
Merge pull request #1280 from juncha4x/typechange
"notifyAsyncEvent" Change the incoming parameter type
2 parents 4fce0f9 + 141a639 commit cc2acef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/agent/analytics/videoGstPipeline/VideoGstAnalyzer.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ gboolean VideoGstAnalyzer::StreamEventCallBack(GstBus *bus, GstMessage *message,
195195
str.append(",\"height\":");
196196
str.append(std::to_string(height));
197197
str.append("}\0");
198-
pStreamObj->notifyAsyncEvent("streamadded", str.c_str());
198+
pStreamObj->notifyAsyncEvent("streamadded", str);
199199

200200
gst_caps_unref (caps);
201201
gst_object_unref (pad);

0 commit comments

Comments
 (0)