From c51d863c2c660e712477ca7dfbafbd89cd310ff1 Mon Sep 17 00:00:00 2001 From: Matjaz Debelak Date: Thu, 15 Aug 2024 11:27:57 +0200 Subject: [PATCH] Add comment --- services/vidispine/chapter_test.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/services/vidispine/chapter_test.go b/services/vidispine/chapter_test.go index 9e231c13..b8e0682d 100644 --- a/services/vidispine/chapter_test.go +++ b/services/vidispine/chapter_test.go @@ -59,6 +59,13 @@ func Test_GetChapterMetaForClips_Overlapping(t *testing.T) { t.Skip("VIDISPINE_BASE_URL is not set") } + // The important thing here is the VXID of the main file (not the audio file), + // together with the in and out points of the clip. + // + // The situation is that two annotations (chapters) in MB overlap by a few frames, + // making the system think that there are two chapters between the in and out point. + // While this is techinically correct, it is not what we want, if one of the "chapters" + // is very short (less than 10 seconds). At this point it is unlikely to be a real chapter and we can ignore it. testData := [][]*Clip{ { {