Use the codec_descriptor lossless flags to identify lossless audio instead of a hardcoded list.