         private var _hasDiscontinuity : Boolean;
         /** boolean to track whether PTS analysis is ongoing or not */
         private var _pts_analyzing : Boolean = false;
-        /** boolean to indicate that PTS has just been analyzed */
-        private var _pts_just_analyzed : Boolean = false;
         /** Timer used to monitor/schedule fragment download. **/
         private var _timer : Timer;
         /** requested seek position **/

                        // dispatch event for tracking purpose
                        _hls.dispatchEvent(new HLSEvent(HLSEvent.FRAGMENT_LOADED, _metrics));
                        // let's directly jump to the accurate level to improve quality at player start
                        _hls.level = bestlevel;
                        _loading_state = LOADING_IDLE;
                        _switchlevel = true;
                        _demux = null;

                    // check if first fragment after seek has been already loaded
                    if (_fragment_first_loaded == false) {
                        // select level for first fragment load
                        if(_level_next != -1) {
                            level = _level_next;
                        } else if (_hls.autolevel) {
                            if (_manifest_just_loaded) {
                                level = _hls.startlevel;
                            } else {
