added m2ts error handling for unsupported cases