[vlc-devel] commit: Missed intf_UserFatal ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Mar 5 22:15:26 CET 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Mar  5 23:13:55 2009 +0200| [fd77a0cdaab52a111cd5a18534cf9e57d31ec701] | committer: Rémi Denis-Courmont 

Missed intf_UserFatal

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

 modules/access/dshow/dshow.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/access/dshow/dshow.cpp b/modules/access/dshow/dshow.cpp
index e2c3b03..25531e4 100644
--- a/modules/access/dshow/dshow.cpp
+++ b/modules/access/dshow/dshow.cpp
@@ -463,7 +463,7 @@ static int CommonOpen( vlc_object_t *p_this, access_sys_t *p_sys,
     if( !b_use_video && !b_use_audio )
     {
         msg_Err( p_this, "No video or audio device selected" );
-        intf_UserFatal( p_this, false, _("Capturing failed"),
+        dialog_Fatal( p_this, _("Capture failed"),
                         _("No video or audio device delected.") );
         return VLC_EGENERIC ;
     }
@@ -540,7 +540,7 @@ static int CommonOpen( vlc_object_t *p_this, access_sys_t *p_sys,
         ( b_use_video && !b_use_audio && b_err_video ) )
     {
         msg_Err( p_this, "FATAL: could not open ANY device" ) ;
-        intf_UserFatal( p_this, false, _("Capturing failed"),
+        dialog_Fatal( p_this,  _("Capture failed"),
                         _("VLC cannot open ANY capture device."
                           "Check the error log for details.") );
         return VLC_EGENERIC ;




More information about the vlc-devel mailing list