diff --git a/src/StreamsSelector.jsx b/src/StreamsSelector.jsx index 48482ba4..6803900d 100644 --- a/src/StreamsSelector.jsx +++ b/src/StreamsSelector.jsx @@ -50,6 +50,7 @@ const Stream = memo(({ stream, onToggle, copyStream, fileDuration }) => { } const streamFps = getStreamFps(stream); + const language = stream.tags && stream.tags.language; const onClick = () => onToggle && onToggle(stream.index); @@ -63,6 +64,7 @@ const Stream = memo(({ stream, onToggle, copyStream, fileDuration }) => { {!Number.isNaN(duration) && `${formatDuration({ seconds: duration })}`} {stream.nb_frames} {!Number.isNaN(bitrate) && `${(bitrate / 1e6).toFixed(1)}MBit/s`} + {language} {stream.width && stream.height && `${stream.width}x${stream.height}`} {stream.channels && `${stream.channels}c`} {stream.channel_layout} {streamFps && `${streamFps.toFixed(2)}fps`} onInfoClick(stream, t('Stream info'))} size={26} /> @@ -75,7 +77,7 @@ const FileRow = ({ path, formatData, onTrashClick }) => { return ( {onTrashClick && } - {path.replace(/.*\/([^/]+)$/, '$1')} + {path.replace(/.*\/([^/]+)$/, '$1')} onInfoClick(formatData, t('File info'))} size={26} /> ); @@ -123,6 +125,7 @@ const StreamsSelector = memo(({ {t('Duration')} {t('Frames')} {t('Bitrate')} + {t('Lang')} {t('Data')} @@ -143,7 +146,7 @@ const StreamsSelector = memo(({ {externalFilesEntries.map(([path, { streams, formatData }]) => ( - + removeFile(path)} />