Add mp4 to allowable file extension filter

This commit is contained in:
mmcwilliams 2019-02-28 17:50:13 -05:00
parent 1612d737a1
commit b9bd62bb78
1 changed files with 1 additions and 5 deletions

View File

@ -136,16 +136,12 @@ devices.intvalCb = function (evt, args) {
devices.digitalSelect = function () { devices.digitalSelect = function () {
'use strict'; 'use strict';
const elem = $('#digital'); const elem = $('#digital');
const extensions = ['mpg', 'mpeg', 'mov', 'mkv', 'avi']; const extensions = ['mpg', 'mpeg', 'mov', 'mkv', 'avi', 'mp4'];
dialog.showOpenDialog({ dialog.showOpenDialog({
title : `Select video or image sequence`, title : `Select video or image sequence`,
properties : [`openFile`], // openDirectory, multiSelection, openFile properties : [`openFile`], // openDirectory, multiSelection, openFile
defaultPath: 'c:/', defaultPath: 'c:/',
filters : [ filters : [
{
name: 'Videos',
extensions
},
{ {
name: 'All Files', name: 'All Files',
extensions: ['*'] extensions: ['*']