Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
fd04c8bc
Commit
fd04c8bc
authored
Jan 20, 2016
by
Jean-Baptiste Kempf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avcapture/QTsound: use dialog_Fatal iso dialog_FatalWait
parent
61da4bf2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
modules/access/avcapture.m
modules/access/avcapture.m
+2
-2
modules/access/qtsound.m
modules/access/qtsound.m
+2
-2
No files found.
modules/access/avcapture.m
View file @
fd04c8bc
...
...
@@ -282,7 +282,7 @@ static int Open(vlc_object_t *p_this)
arrayByAddingObjectsFromArray:
[
AVCaptureDevice
devicesWithMediaType
:
AVMediaTypeMuxed
]]
retain
];
if
(
[
myVideoDevices
count
]
==
0
)
{
dialog_Fatal
Wait
(
p_demux
,
_
(
"No video devices found"
),
dialog_Fatal
(
p_demux
,
_
(
"No video devices found"
),
_
(
"Your Mac does not seem to be equipped with a suitable video input device. "
"Please check your connectors and drivers."
));
msg_Err
(
p_demux
,
"Can't find any suitable video device"
);
...
...
@@ -311,7 +311,7 @@ static int Open(vlc_object_t *p_this)
}
if
(
!
p_sys
->
device
)
{
dialog_Fatal
Wait
(
p_demux
,
_
(
"No video devices found"
),
dialog_Fatal
(
p_demux
,
_
(
"No video devices found"
),
_
(
"Your Mac does not seem to be equipped with a suitable input device. "
"Please check your connectors and drivers."
));
msg_Err
(
p_demux
,
"Can't find any suitable video device"
);
...
...
modules/access/qtsound.m
View file @
fd04c8bc
...
...
@@ -259,7 +259,7 @@ static int Open(vlc_object_t *p_this)
myAudioDevices
=
[[[
QTCaptureDevice
inputDevicesWithMediaType
:
QTMediaTypeSound
]
arrayByAddingObjectsFromArray:
[
QTCaptureDevice
inputDevicesWithMediaType
:
QTMediaTypeMuxed
]]
retain
];
if
([
myAudioDevices
count
]
==
0
)
{
dialog_Fatal
Wait
(
p_demux
,
_
(
"No Audio Input device found"
),
dialog_Fatal
(
p_demux
,
_
(
"No Audio Input device found"
),
_
(
"Your Mac does not seem to be equipped with a suitable audio input device."
"Please check your connectors and drivers."
));
msg_Err
(
p_demux
,
"Can't find any Audio device"
);
...
...
@@ -290,7 +290,7 @@ static int Open(vlc_object_t *p_this)
p_sys
->
audiodevice
=
[
QTCaptureDevice
defaultInputDeviceWithMediaType
:
QTMediaTypeSound
];
}
if
(
!
p_sys
->
audiodevice
)
{
dialog_Fatal
Wait
(
p_demux
,
_
(
"No audio input device found"
),
dialog_Fatal
(
p_demux
,
_
(
"No audio input device found"
),
_
(
"Your Mac does not seem to be equipped with a suitable audio input device."
"Please check your connectors and drivers."
));
msg_Err
(
p_demux
,
"Can't find any Audio device"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment