Fixed deadlock in Player/PlaybackListener.
Created apparently working data segmenter