fix mod_ts output bug by frame