[FFmpeg-devel] [PATCH] avfilter/zscale: add explanation for error 3074

Moritz Barsnick barsnick at gmx.net
Sun Oct 29 15:50:01 EET 2017

On Sat, Oct 28, 2017 at 20:54:02 -0400, Dxfhgwet wrote:
-    av_log(ctx, AV_LOG_ERROR, "code %d: %s\n", err_code, err_msg);
+        av_log(ctx, AV_LOG_ERROR, "code %d: %s. Try specifying matrix/transfer/primaries.\n";
+    } else {
+        av_log(ctx, AV_LOG_ERROR, "code %d: %s\n", err_code, err_msg);
+    }

I didn't try your patch, but I'm extremely sure it doesn't compile. You
forgot a lot of stuff in the first av_log() call line.

Please, when creating a patch:
- branch locally from master
- do your edits
- try to compile
- fix by editing again
- compile
- test your change
- repeat if necessary
- commit locally
- create a patch from this commit with git format-patch
- submit the patch.

And please fix your email address when committing.


More information about the ffmpeg-devel mailing list