Enable AVFoundation
This commit is contained in:
parent
0c349c047d
commit
802f964cd3
1 changed files with 5 additions and 0 deletions
|
@ -73,6 +73,11 @@ void AtomMainDelegate::PreSandboxStartup() {
|
|||
// Disable renderer sandbox for most of node's functions.
|
||||
command_line->AppendSwitch(switches::kNoSandbox);
|
||||
|
||||
#if defined(OS_MACOSX)
|
||||
// Enable AVFoundation.
|
||||
command_line->AppendSwitch("enable-avfoundation");
|
||||
#endif
|
||||
|
||||
// Add a flag to mark the end of switches added by atom-shell.
|
||||
command_line->AppendSwitch("atom-shell-switches-end");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue