[FFmpeg-devel] [PATCH 4/5] lavfi: add ProcAmp(color balance) vaapi video filter.
sw at jkqxz.net
Mon Jan 15 01:14:31 EET 2018
On 14/01/18 22:59, Carl Eugen Hoyos wrote:
>> On 08/01/18 08:35, Jun Zhao wrote:
>>> + VAStatus vas;
>>> + av_log(avctx, AV_LOG_ERROR, "Failed to Query procamp "
>>> + "query caps: %d (%s).\n", vas, vaErrorStr(vas));
> Is "%d" what it's supposed to be? Why is VAStatus needed then?
I guess VAStatus is there to suggest to the user to keep different namespaces of error codes apart? Since the types are the same the compiler unfortunately doesn't actually help to check it, though.
More information about the ffmpeg-devel