mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +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;
|
||||
|
||||
case err_status_auth_fail:
|
||||
GST_WARNING_OBJECT (filter, "Error authentication packet, dropping");
|
||||
goto drop_buffer;
|
||||
|
||||
case err_status_cipher_fail:
|
||||
GST_ELEMENT_WARNING (filter, STREAM, DECRYPT,
|
||||
("Error while decryption stream"), (NULL));
|
||||
ret = GST_FLOW_ERROR;
|
||||
GST_WARNING_OBJECT (filter, "Error while decrypting packet, dropping");
|
||||
goto drop_buffer;
|
||||
|
||||
default:
|
||||
GST_WARNING_OBJECT (filter, "Other error");
|
||||
GST_WARNING_OBJECT (filter, "Other error, dropping");
|
||||
goto drop_buffer;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue