From d390742838d046b57c957ac9e08b3c803ca055b5 Mon Sep 17 00:00:00 2001 From: Zhovtaniuk Date: Sat, 20 Apr 2024 16:29:55 +0300 Subject: [PATCH 1/2] scte35 stream type --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 88ee3ba..1bfda78 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -125,6 +125,8 @@ impl StreamType { // 0x80 privately defined /// Dolby Digital (AC-3) audio for ATSC pub const ATSC_DOLBY_DIGITAL_AUDIO: StreamType = StreamType(0x81); + // 0x86 SCTE-35 digital program insertion cue message + pub const SCTE35: StreamType = StreamType(0x86); // 0x82-0x94 privately defined /// ATSC Data Service Table, Network Resources Table pub const ATSC_DSMCC_NETWORK_RESOURCES_TABLE: StreamType = StreamType(0x95); From 239bd3422b6131e5037eb130f74a22d9d063a048 Mon Sep 17 00:00:00 2001 From: Zhovtaniuk Date: Sat, 20 Apr 2024 18:50:15 +0300 Subject: [PATCH 2/2] fix docs for scte35 const --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 1bfda78..fabbd36 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -125,7 +125,8 @@ impl StreamType { // 0x80 privately defined /// Dolby Digital (AC-3) audio for ATSC pub const ATSC_DOLBY_DIGITAL_AUDIO: StreamType = StreamType(0x81); - // 0x86 SCTE-35 digital program insertion cue message + // 0x86 scte35 + /// SCTE-35 digital program insertion cue message pub const SCTE35: StreamType = StreamType(0x86); // 0x82-0x94 privately defined /// ATSC Data Service Table, Network Resources Table