[vlc-commits] Simplify message when codec could not be found

Rafaël Carré git at videolan.org
Thu Dec 19 09:06:04 CET 2013


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Dec 18 16:40:31 2013 +0100| [bedf87eba1f29b622b203847935e65803a9117d2] | committer: Rafaël Carré

Simplify message when codec could not be found

People do not read that far and keep asking for support anyway.

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

 src/input/decoder.c |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index 38da0dc..a97858e 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -687,12 +687,9 @@ static void DecoderUnsupportedCodec( decoder_t *p_dec, vlc_fourcc_t codec )
         const char *desc = vlc_fourcc_GetDescription(p_dec->fmt_in.i_cat, codec);
         if (!desc || !*desc)
             desc = N_("No description for this codec");
-        msg_Err( p_dec, "no suitable decoder module for fourcc `%4.4s' (%s). "
-                "VLC probably does not support this sound or video format.",
-                (char*)&codec, desc );
-        dialog_Fatal( p_dec, _("No suitable decoder module"),
-                _("VLC does not support the audio or video format \"%4.4s\" (%s). "
-                    "Unfortunately there is no way for you to fix this."),
+        msg_Err( p_dec, "Codec `%4.4s' (%s) is not supported.", (char*)&codec, desc );
+        dialog_Fatal( p_dec, _("Codec not supported"),
+                _("VLC could not decode the format \"%4.4s\" (%s)"),
                 (char*)&codec, desc );
     } else {
         msg_Err( p_dec, "could not identify codec" );



More information about the vlc-commits mailing list