[FFmpeg-devel] Added HW H.264 and HEVC encoding for AMD GPUs based on AMF SDK
Carl Eugen Hoyos
ceffmpeg at gmail.com
Tue Oct 31 00:36:53 EET 2017
2017-10-30 23:35 GMT+01:00 Mark Thompson <sw at jkqxz.net>:
> On 30/10/17 21:30, Mironov, Mikhail wrote:
>>>> +static void AMF_CDECL_CALL AMFTraceWriter_Write(AMFTraceWriter
>>> *pThis,
>>>> + const wchar_t *scope, const wchar_t *message)
>>>> +{
>>>> + AmfTraceWriter *tracer = (AmfTraceWriter*)pThis;
>>>> + av_log(tracer->avctx, AV_LOG_DEBUG, "%ls: %ls", scope, message);
>>>
>>> Does the message necessarily include a newline already?
>>
>> Yes.
>>
>>>> + init_fun = (AMFInit_Fn)dlsym(ctx->library,
>>> AMF_INIT_FUNCTION_NAME);
>>>> + AMF_RETURN_IF_FALSE(ctx, init_fun != NULL, AVERROR_UNKNOWN,
>>> "DLL %s failed to find function %s. \n", AMF_DLL_NAMEA,
>>> AMF_INIT_FUNCTION_NAME);
>>>
>>> I think do s/ \n/\n/ for all of these messages.
>>
>> Sorry, didn't get this.
>
> Most of your messages end with a space before the newline,
> the space probably shouldn't be there.
Correct: While I like the space, it shouldn't be there for
consistency.
Carl Eugen
More information about the ffmpeg-devel
mailing list