mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-01-01 14:58:42 +00:00
transcribe: fix exception packet detection
This commit is contained in:
parent
f1e3212477
commit
e10f88da50
1 changed files with 1 additions and 1 deletions
|
@ -136,7 +136,7 @@ fn parse_header(input: &[u8]) -> IResult<&[u8], Header> {
|
|||
|
||||
pub fn packet_is_exception(packet: &Packet) -> bool {
|
||||
for header in &packet.headers {
|
||||
if header.name == ":message-type" && header.value_type == 7 {
|
||||
if header.name == ":message-type" && header.value == "exception" {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue