mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
srtpdec: Don't error on invalid packet, just drop it
This commit is contained in:
parent
b4c52425f2
commit
04bd37dd67
1 changed files with 5 additions and 4 deletions
|
@ -910,14 +910,15 @@ unprotect:
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case err_status_auth_fail:
|
case err_status_auth_fail:
|
||||||
|
GST_WARNING_OBJECT (filter, "Error authentication packet, dropping");
|
||||||
|
goto drop_buffer;
|
||||||
|
|
||||||
case err_status_cipher_fail:
|
case err_status_cipher_fail:
|
||||||
GST_ELEMENT_WARNING (filter, STREAM, DECRYPT,
|
GST_WARNING_OBJECT (filter, "Error while decrypting packet, dropping");
|
||||||
("Error while decryption stream"), (NULL));
|
|
||||||
ret = GST_FLOW_ERROR;
|
|
||||||
goto drop_buffer;
|
goto drop_buffer;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
GST_WARNING_OBJECT (filter, "Other error");
|
GST_WARNING_OBJECT (filter, "Other error, dropping");
|
||||||
goto drop_buffer;
|
goto drop_buffer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue