             pts_min_audio = pts_min_video = dts_min = tags_pts_min_audio = tags_pts_min_video = Number.POSITIVE_INFINITY;
             pts_max_audio = pts_max_video = tags_pts_max_audio = tags_pts_max_video = Number.NEGATIVE_INFINITY;
             audio_found = video_found = tags_audio_found = tags_video_found = false;
+            starts_with_idr = false;
+            pts_min_video_header = NaN;
         }
 
         public function shiftTags() : void {

        /* ID3 tags linked to this fragment */
        public var id3_tags : Vector.<ID3Tag>;

        /**  tag duration */
        private var audio_tag_duration : Number;
        private var video_tag_duration : Number;

            this.valid = true;
            this.video_width = 0;
            this.video_height = 0;
            this.starts_with_idr = false;
            this.pts_min_video_header = NaN;
        };

        public function appendTags(tags : Vector.<FLVTag>) : void {
