From 9ad7dfa15d351f525c92245b40060341796b169d Mon Sep 17 00:00:00 2001 From: Jeff Bailey Date: Fri, 25 Aug 2023 07:55:51 -0700 Subject: [PATCH] fix: correct AudioDescriptor.Tag() --- pkg/scte35/audio_descriptor.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/scte35/audio_descriptor.go b/pkg/scte35/audio_descriptor.go index d8d207d30..c1b4e36a0 100644 --- a/pkg/scte35/audio_descriptor.go +++ b/pkg/scte35/audio_descriptor.go @@ -42,8 +42,8 @@ type AudioDescriptor struct { // Tag returns the splice_descriptor_tag. func (sd *AudioDescriptor) Tag() uint32 { // ensure JSONType is set - sd.JSONType = TimeDescriptorTag - return TimeDescriptorTag + sd.JSONType = AudioDescriptorTag + return AudioDescriptorTag } // decode updates this SpliceDescriptor from binary.