<!DOCTYPE html>
<html>
<head>
<title></title>
<style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style>
</head>
<body><div><br></div>
<div>On Fri, May 25, 2018, at 10:53, Rémi Denis-Courmont wrote:<br></div>
<blockquote type="cite"><div>This is not simplifying. This is removing. It  is even more confusing with this patch. Nack.<br></div>
</blockquote><div><br></div>
<div>Yes this is simplifying. Do you expect that an normal VLC users knowing what is a Libav/FFmeg packager ?<br></div>
<div><br></div>
<div>If you disagree with this patch, we need to do it only for linux. This no such thing as packager on every other OSes (specially since VideoLAN is packaging VLC for others OS/ports).<br></div>
<div><br></div>
<blockquote type="cite"><div><br></div>
<div defang_data-gmailquote="yes"><div>Le 25 mai 2018 11:19:14 GMT+03:00, Thomas Guillem <thomas@gllm.fr> a écrit :<br></div>
<blockquote defang_data-gmailquote="yes" style="margin-top:0pt;margin-right:0pt;margin-bottom:0pt;margin-left:0.8ex;border-left-color:rgb(204, 204, 204);border-left-style:solid;border-left-width:1px;padding-left:1ex;"><pre><div>And simplify the error message.<br></div>
<div>Since we can't assume that all codecs have encoders.<br></div>
<div>---<br></div>
<div> modules/codec/avcodec/encoder.c | 21 +--------------------<br></div>
<div> 1 file changed, 1 insertion(+), 20 deletions(-)<br></div>
<div><br></div>
<div>diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c<br></div>
<div>index 87fff6d3c7..7bd20f9e89 100644<br></div>
<div>--- a/modules/codec/avcodec/encoder.c<br></div>
<div>+++ b/modules/codec/avcodec/encoder.c<br></div>
<div>@@ -360,26 +360,7 @@ int InitVideoEnc( vlc_object_t *p_this )<br></div>
<div>         p_codec = avcodec_find_encoder( i_codec_id );<br></div>
<div>     if( !p_codec )<br></div>
<div>     {<br></div>
<div>-        msg_Err( p_enc, "cannot find encoder %s\n"<br></div>
<div>-"*** Your Libav/FFmpeg installation is crippled.   ***\n"<br></div>
<div>-"*** Please check with your Libav/FFmpeg packager. ***\n"<br></div>
<div>-"*** This is NOT a VLC media player issue.   ***", psz_namecodec );<br></div>
<div>-<br></div>
<div>-#if !defined(_WIN32)<br></div>
<div>-        vlc_dialog_display_error( p_enc, _("Streaming / Transcoding failed"), _(<br></div>
<div>-/* I have had enough of all these MPEG-3 transcoding bug reports.<br></div>
<div>- * Downstream packager, you had better not patch this out, or I will be really<br></div>
<div>- * annoyed. Think about it - you don't want to fork the VLC translation files,<br></div>
<div>- * do you? -- Courmisch, 2008-10-22 */<br></div>
<div>-"It seems your Libav/FFmpeg (libavcodec) installation lacks the following encoder:\n"<br></div>
<div>-"%s.\n"<br></div>
<div>-"If you don't know how to fix this, ask for support from your distribution.\n"<br></div>
<div>-"\n"<br></div>
<div>-"This is not an error inside VLC media player.\n"<br></div>
<div>-"Do not contact the VideoLAN project about this issue.\n"),<br></div>
<div>-            psz_namecodec );<br></div>
<div>-#endif<br></div>
<div>-<br></div>
<div>+        msg_Err( p_enc, "cannot find encoder %s\n", psz_namecodec );<br></div>
<div>         return VLC_EGENERIC;<br></div>
<div>     } <br></div>
</pre></blockquote></div>
<div><br></div>
<div>--<br></div>
<div> Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté. <br></div>
<div><u>_______________________________________________</u><br></div>
<div>vlc-devel mailing list<br></div>
<div>To unsubscribe or modify your subscription options:<br></div>
<div><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a><br></div>
</blockquote><div><br></div>
</body>
</html>