[vlc-commits] Avcapture/QTsound: use dialog_Fatal iso dialog_FatalWait

Jean-Baptiste Kempf git at videolan.org
Wed Jan 20 10:02:53 CET 2016


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Wed Jan 20 10:02:26 2016 +0100| [fd04c8bca93dd0a893be0205f78f2b6d603029c2] | committer: Jean-Baptiste Kempf

Avcapture/QTsound: use dialog_Fatal iso dialog_FatalWait

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fd04c8bca93dd0a893be0205f78f2b6d603029c2
---

 modules/access/avcapture.m |    4 ++--
 modules/access/qtsound.m   |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/modules/access/avcapture.m b/modules/access/avcapture.m
index 3143e4b..b8e8c11 100644
--- a/modules/access/avcapture.m
+++ b/modules/access/avcapture.m
@@ -282,7 +282,7 @@ static int Open(vlc_object_t *p_this)
                            arrayByAddingObjectsFromArray:[AVCaptureDevice devicesWithMediaType:AVMediaTypeMuxed]] retain];
         if ( [myVideoDevices count] == 0 )
         {
-            dialog_FatalWait(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_FatalWait(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");
diff --git a/modules/access/qtsound.m b/modules/access/qtsound.m
index d6e3058..cc552c0 100644
--- a/modules/access/qtsound.m
+++ b/modules/access/qtsound.m
@@ -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_FatalWait(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_FatalWait(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");



More information about the vlc-commits mailing list