[vlc-devel] [PATCH] avcodec: display encoder error only on linux
remi at remlab.net
Fri May 25 10:24:59 CEST 2018
Err, how about stepping back for once, and pondering why this message has become such a problem? It has been there for years, with its misleading wording, without causing much fuss until recently.
This is a big dark orange flag that something went wrong somewhere. Best guesses would be the transcode plugin or the sout wizard.
And even if it turns out that there are no regression, I don't think that failing silently is a good idea.
Le 25 mai 2018 11:12:55 GMT+03:00, Thomas Guillem <thomas at gllm.fr> a écrit :
>So we should remove the whole dialog and simplify the error message.
>On Fri, May 25, 2018, at 10:11, Rémi Denis-Courmont wrote:
>> Please stop this nonsense already. This is gping nowhere.
>> The problem is not what OS this is relevant on (and the answer to
>> that is not even "Linux"). The problem is that this code wrongly
>> assumes that all know codecs have an encoder, and in all settings.>
>> Le 25 mai 2018 10:18:57 GMT+03:00, Thomas Guillem <thomas at gllm.fr>
>> a écrit :>> This error is only relevant on linux and it's really not
>>> modules/codec/avcodec/encoder.c | 2 +-
>>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>> diff --git a/modules/codec/avcodec/encoder.c
>>>>> index 87fff6d3c7..761da1a893 100644
>>> --- a/modules/codec/avcodec/encoder.c
>>> +++ b/modules/codec/avcodec/encoder.c
>>> @@ -365,7 +365,7 @@ int InitVideoEnc( vlc_object_t *p_this )
>>> "*** Please check with your Libav/FFmpeg packager. ***\n"
>>> "*** This is NOT a VLC media player issue. ***", psz_namecodec );
>>> -#if !defined(_WIN32)
>>> +#if defined(__linux__)
>>> vlc_dialog_display_error( p_enc, _("Streaming / Transcoding
>>> failed"), _(
>>>>> /* I have had enough of all these MPEG-3 transcoding bug reports.
>>>>> * Downstream packager, you had better not patch this out, or I
>>> be really
>> Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez
>> excuser ma brièveté.>
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vlc-devel