src/widgets/MultiSegments.js
changeset 1069 2409cb4cebaf
parent 1068 7623f9af9272
child 1072 ac1eacb3aa33
--- a/src/widgets/MultiSegments.js	Fri Oct 02 11:27:17 2015 +0200
+++ b/src/widgets/MultiSegments.js	Mon Dec 28 15:50:04 2015 +0100
@@ -27,7 +27,7 @@
     });
     this.source.getAnnotationTypes().forEach(function(_anntype) {
         var segments = _anntype.getAnnotations().filter(function(_ann) {
-            return _ann.getDuration() > 0;
+            return _ann.getDuration() > 0 && _ann.getMedia().id == _this.media.id;
         });
         if (segments.length) {