auto convert trec format

closes #975
pull/978/head
Mikael Finstad 4 years ago
parent 72229d07d5
commit cf61f22c8f
No known key found for this signature in database
GPG Key ID: 25AB36E3E81CBC26

@ -147,8 +147,9 @@ export function doesPlayerSupportFile(streams) {
if (videoStreams.length === 0) return true;
// If we have at least one video that is NOT of the unsupported formats, assume the player will be able to play it natively
// https://github.com/mifi/lossless-cut/issues/595
// https://github.com/mifi/lossless-cut/issues/975
// But cover art / thumbnail streams don't count e.g. hevc with a png stream (disposition.attached_pic=1)
return videoStreams.some(s => !['hevc', 'prores', 'mpeg4'].includes(s.codec_name));
return videoStreams.some(s => !['hevc', 'prores', 'mpeg4', 'tscc2'].includes(s.codec_name));
}
export const isMasBuild = window.process.mas;

Loading…
Cancel
Save