1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

rtp: do not register plugin twice

This commit is contained in:
Steffen Vogel 2019-04-05 20:56:51 +02:00
parent 487672e9af
commit 6002f2debd

View file

@ -652,6 +652,7 @@ static void register_plugin() {
p.description = "real-time transport protocol (libre)";
#endif
p.type = PLUGIN_TYPE_NODE;
p.node.instances.state = STATE_DESTROYED;
p.node.vectorize = 0;
p.node.size = sizeof(struct rtp);
p.node.type.start = rtp_type_start;
@ -678,6 +679,3 @@ static void deregister_plugin() {
}
} /* extern C */
REGISTER_PLUGIN(&p)
LIST_INIT_STATIC(&p.node.instances)