Du kannst den Fehler als Text oder Video darstellen.
Hier mein altes Sample:
Sample für v3
Errorcode von v4:
Delphi-Quellcode:
procedure CheckForErrors(v: AVS_Value);
begin
if avs_is_error(v) then
raise EAviSynthCException.Create(avs_as_error(v));
end;
Errorcode von v3:
Delphi-Quellcode:
EAviSynthCException =
class(
Exception);
if avs_is_error(avsval)
then
raise EAviSynthCException.Create(avs_as_error(avsval));
Wenn man v schreibt wirds ein Video. Wenn man avsval lässt kommt der string.