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: properly initialize rate hook

This commit is contained in:
Steffen Vogel 2019-03-15 17:26:20 +01:00
parent f02588f914
commit 3ca1ae89b8

View file

@ -380,6 +380,8 @@ int rtp_start(struct node *n)
if (!r->rtcp.throttle_hook)
return -1;
r->rtcp.throttle_hook->state = STATE_DESTROYED;
switch (r->rtcp.throttle_mode) {
case RTCP_THROTTLE_HOOK_DECIMATE:
throttle_hook_type = hook_type_lookup("decimate");