diff --git a/src/StreamsSelector.jsx b/src/StreamsSelector.jsx index 7d8a9654..97d5c087 100644 --- a/src/StreamsSelector.jsx +++ b/src/StreamsSelector.jsx @@ -214,16 +214,22 @@ const Stream = memo(({ filePath, stream, onToggle, batchSetCopyStreamIds, copySt const duration = !Number.isNaN(streamDuration) ? streamDuration : fileDuration; let Icon; + let codecTypeHuman; if (stream.codec_type === 'audio') { Icon = copyStream ? FaVolumeUp : FaVolumeMute; + codecTypeHuman = t('audio'); } else if (stream.codec_type === 'video') { Icon = copyStream ? FaVideo : FaVideoSlash; + codecTypeHuman = t('video'); } else if (stream.codec_type === 'subtitle') { Icon = copyStream ? MdSubtitles : FaBan; + codecTypeHuman = t('subtitle'); } else if (stream.codec_type === 'attachment') { Icon = copyStream ? FaPaperclip : FaBan; + codecTypeHuman = t('attachment'); } else { Icon = copyStream ? GoFileBinary : FaBan; + codecTypeHuman = stream.codec_type; } const streamFps = getStreamFps(stream); @@ -238,7 +244,7 @@ const Stream = memo(({ filePath, stream, onToggle, batchSetCopyStreamIds, copySt