[vlc-devel] commit: Use fatal error instead of warning, for consistency ( Rémi Denis-Courmont )

git version control git at videolan.org
Thu Mar 5 22:20:55 CET 2009


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

Use fatal error instead of warning, for consistency

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

 modules/access/dvdread.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/modules/access/dvdread.c b/modules/access/dvdread.c
index 89661d1..41fa877 100644
--- a/modules/access/dvdread.c
+++ b/modules/access/dvdread.c
@@ -508,9 +508,9 @@ static int Demux( demux_t *p_demux )
                            1, p_buffer ) != 1 )
         {
             msg_Err( p_demux, "read failed for block %d", p_sys->i_next_vobu );
-            intf_UserWarn( p_demux, _("Playback failure"),
-                            _("DVDRead could not read block %d."),
-                           p_sys->i_next_vobu );
+            dialog_Fatal( p_demux, _("Playback failure"),
+                          _("DVDRead could not read block %d."),
+                          p_sys->i_next_vobu );
             return -1;
         }
 




More information about the vlc-devel mailing list