Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu@centricular.com>2020-04-15 01:22:23 +0300
committerMathieu Duponchelle <mathieu@centricular.com>2020-04-15 01:22:23 +0300
commite10f88da5005d11f5e9a72e700c7df8db3d18730 (patch)
treed45443d87ad7056a2608192d80b5ef51ddcca4cd /audio
parentf1e3212477a1fcc1b7783fc19d920db2b06c4aa5 (diff)
transcribe: fix exception packet detection
Diffstat (limited to 'audio')
-rw-r--r--audio/transcribe/src/packet.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/transcribe/src/packet.rs b/audio/transcribe/src/packet.rs
index 955ad0448..18281617c 100644
--- a/audio/transcribe/src/packet.rs
+++ b/audio/transcribe/src/packet.rs
@@ -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;
}
}