include attachments by default #275

pull/285/head
Mikael Finstad 6 years ago
parent 9a2126b20b
commit ea73305618

@ -473,11 +473,12 @@ function getPreferredCodecFormat(codec, type) {
};
const format = map[codec];
if (format) return { format, ext: getExtensionForFormat(format) };
if (format) return { ext: getExtensionForFormat(format), format };
if (type === 'video') return { ext: 'mkv', format: 'matroska' };
if (type === 'audio') return { ext: 'mka', format: 'matroska' };
if (type === 'subtitle') return { ext: 'mks', format: 'matroska' };
if (type === 'data') return { ext: 'bin', format: 'data' }; // https://superuser.com/questions/1243257/save-data-stream
return undefined;
}
@ -635,6 +636,7 @@ export const defaultProcessedCodecTypes = [
'video',
'audio',
'subtitle',
'attachment',
];
export function getStreamFps(stream) {

Loading…
Cancel
Save