If frame cannot be decoded, return encoded frame