first commit
This commit is contained in:
parent
8ad6e94f01
commit
76bdd6f77b
@ -34,7 +34,7 @@ GstRTSPMediaFactory *RTSPManager::create_media_factory(const Camera &cam)
|
||||
|
||||
// 连接 media-created 信号,跟踪媒体对象
|
||||
g_signal_connect_data(factory, "media-created", G_CALLBACK(on_media_created), g_strdup(cam.name.c_str()),
|
||||
(GClosureNotify)g_free, 0);
|
||||
(GClosureNotify)g_free, static_cast<GConnectFlags>(0));
|
||||
|
||||
return factory;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user