Use fatal error instead of warning, for consistency
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 5 Mar 2009 21:17:34 +0000 (23:17 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 5 Mar 2009 21:17:34 +0000 (23:17 +0200)
modules/access/dvdread.c

index 89661d1..41fa877 100644 (file)
@@ -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;
         }