mirror of
https://github.com/mifi/lossless-cut.git
synced 2024-11-24 19:32:29 +01:00
parent
c3e110ac27
commit
e3da5e841a
@ -352,7 +352,8 @@ export function willPlayerProperlyHandleVideo({ streams, hevcPlaybackSupported }
|
|||||||
// https://github.com/mifi/lossless-cut/issues/975
|
// https://github.com/mifi/lossless-cut/issues/975
|
||||||
// https://github.com/mifi/lossless-cut/issues/1407
|
// https://github.com/mifi/lossless-cut/issues/1407
|
||||||
// https://github.com/mifi/lossless-cut/issues/1505 https://samples.ffmpeg.org/archive/video/mjpeg/mov+mjpeg+pcm_u8++MPlayerRC1PlaybackCrash_david@pastornet.net.au.mov
|
// https://github.com/mifi/lossless-cut/issues/1505 https://samples.ffmpeg.org/archive/video/mjpeg/mov+mjpeg+pcm_u8++MPlayerRC1PlaybackCrash_david@pastornet.net.au.mov
|
||||||
const chromiumSilentlyFailCodecs = ['prores', 'mpeg4', 'mpeg2video', 'tscc2', 'dvvideo', 'mjpeg'];
|
// https://github.com/mifi/lossless-cut/issues/2110
|
||||||
|
const chromiumSilentlyFailCodecs = ['prores', 'mpeg4', 'mpeg2video', 'tscc2', 'dvvideo', 'mjpeg', 'ffv1'];
|
||||||
if (!hevcPlaybackSupported) chromiumSilentlyFailCodecs.push('hevc');
|
if (!hevcPlaybackSupported) chromiumSilentlyFailCodecs.push('hevc');
|
||||||
return realVideoStreams.some((stream) => !chromiumSilentlyFailCodecs.includes(stream.codec_name));
|
return realVideoStreams.some((stream) => !chromiumSilentlyFailCodecs.includes(stream.codec_name));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user