                         default:
                             break;
                     }
+                }
+                CONFIG::LOGGING {
+                    Log.debug("filterOverlappingTags : tags appended:" + filteredTags.length);
                 }
             } else {
                 CONFIG::LOGGING {

                }
            }

            if((videoIdx >= 0 || audioIdx >=0) && filteredDuration > 500) {
                // modify PTS for DISCONTINUITY/METADATA/AAC_HEADER/AVC_HEADER tag
                // and push as filtered tag
                if(disIdx >=0) {

                if(avcIdx >=0) {
                    tags[avcIdx].pts = tags[avcIdx].dts = tags[videoIdx].dts;
                    filteredTags.push(tags[avcIdx]);
                }

                CONFIG::LOGGING {
                    Log.debug("filterOverlappingTags : header appended:" + filteredTags.length);
                }

                for (i= 0; i < tags.length; i++) {
