             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 {

        /* 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;

                        pts_max_audio = Math.max(pts_max_audio, tag.pts);
                        break;
                    case FLVTag.AVC_HEADER:
                        if (isNaN(pts_min_video_header)) {
                            pts_min_video_header = tag.pts;
                        }
                    case FLVTag.AVC_NALU:
                        video_found = true;
                        tags_video_found = true;
