<html><head></head><body>This is not simplifying. This is removing. It  is even more confusing with this patch. Nack.<br><br><div class="gmail_quote">Le 25 mai 2018 11:19:14 GMT+03:00, Thomas Guillem <thomas@gllm.fr> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">And simplify the error message.<br>Since we can't assume that all codecs have encoders.<br>---<br> modules/codec/avcodec/encoder.c | 21 +--------------------<br> 1 file changed, 1 insertion(+), 20 deletions(-)<br><br>diff --git a/modules/codec/avcodec/encoder.c b/modules/codec/avcodec/encoder.c<br>index 87fff6d3c7..7bd20f9e89 100644<br>--- a/modules/codec/avcodec/encoder.c<br>+++ b/modules/codec/avcodec/encoder.c<br>@@ -360,26 +360,7 @@ int InitVideoEnc( vlc_object_t *p_this )<br>         p_codec = avcodec_find_encoder( i_codec_id );<br>     if( !p_codec )<br>     {<br>-        msg_Err( p_enc, "cannot find encoder %s\n"<br>-"*** Your Libav/FFmpeg installation is crippled.   ***\n"<br>-"*** Please check with your Libav/FFmpeg packager. ***\n"<br>-"*** This is NOT a VLC media player issue.   ***", psz_namecodec );<br>-<br>-#if !defined(_WIN32)<br>-        vlc_dialog_display_error( p_enc, _("Streaming / Transcoding failed"), _(<br>-/* I have had enough of all these MPEG-3 transcoding bug reports.<br>- * Downstream packager, you had better not patch this out, or I will be really<br>- * annoyed. Think about it - you don't want to fork the VLC translation files,<br>- * do you? -- Courmisch, 2008-10-22 */<br>-"It seems your Libav/FFmpeg (libavcodec) installation lacks the following encoder:\n"<br>-"%s.\n"<br>-"If you don't know how to fix this, ask for support from your distribution.\n"<br>-"\n"<br>-"This is not an error inside VLC media player.\n"<br>-"Do not contact the VideoLAN project about this issue.\n"),<br>-            psz_namecodec );<br>-#endif<br>-<br>+        msg_Err( p_enc, "cannot find encoder %s\n", psz_namecodec );<br>         return VLC_EGENERIC;<br>     }<br> </pre></blockquote></div><br>
-- <br>
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>