From cf61f22c8f24a02f1cc41c41b4eb3425877daef4 Mon Sep 17 00:00:00 2001 From: Mikael Finstad Date: Tue, 11 Jan 2022 16:29:14 +0700 Subject: [PATCH] auto convert trec format closes #975 --- src/util.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/util.js b/src/util.js index 8c0d86be..110d7735 100644 --- a/src/util.js +++ b/src/util.js @@ -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;