Add mp4 to allowable file extension filter
This commit is contained in:
parent
1612d737a1
commit
b9bd62bb78
|
@ -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: ['*']
|
||||||
|
|
Loading…
Reference in New Issue