streaming

Media streaming and broadcast systems in Go
Log | Files | Refs | README | LICENSE

commit 4a5358ed0af41ae999629f2588b5190bd4da24d8
parent 428cba521cef3f708f964286f6f6a7b8e08f91c3
Author: Oliver Lowe <o@olowe.co>
Date:   Fri, 10 May 2024 17:05:24 +1000

internal/scte35: compare splice info structs by value

Diffstat:
Minternal/scte35/splice_info_test.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/internal/scte35/splice_info_test.go b/internal/scte35/splice_info_test.go @@ -149,7 +149,7 @@ func TestDecodeSpliceInfo(t *testing.T) { t.Errorf("want upid type %d, got %d", wd.UPID.Type, d.UPID.Type) } } - if !reflect.DeepEqual(tt.want, info) { + if !reflect.DeepEqual(tt.want, *info) { t.Errorf("decode splice info: want %+v, got %+v", tt.want, info) t.Log(diffInfo(tt.want, *info)) }