Michael Niedermayer (HE12025-07-02):
> People are asking for better error codes

I have little time just now, but I think it is important to clarify:

- Error CODES are for when the program must react specifically to a
  certain kind of error condition:

  if (ret == AVERROR(EAGAIN)) …

- Error MESSAGES are to say to the user what went wrong.

There is a confusion because error codes also serve as stock error
messages.

I think what we need is better error messages and accompanying
reporting. I have a lot of thoughts about this, I will comment when I
have more time. (Spoiler: it depends on AVWriter.)

I do not think we need better error codes.

Regards,

-- 
  Nicolas George
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to