[FFmpeg-devel] [PATCH] avutil/hwcontext_qsv: fix log level for session initialization error

Moritz Barsnick barsnick at gmx.net
Fri Jul 6 01:12:28 EEST 2018


On Thu, Jul 05, 2018 at 16:17:45 +0200, Maxym Dmytrychenko wrote:
> just looking at the initial issue on Windows:
> >I thought I had the entire pipeline (decode/scale-resize/encode) being
> performed by Quicksync
> it is not yet clear if exactly so and logs have to be checked,
> like CPU utilization can be high due to decode, as an example.

That may be the case, I don't know, you know much better. It's the
general question:

> do you really want to have warning log with the error statement inside?
> (root case of such MFXVideoVPP_Init behaviour is different topic and
> actually should be re-checked)

It's just that I was under the impression that a non-fatal "error"
which changes the behavior was not being clearly reported. If it
doesn't change behavior, or this change is of no importance to the
user, then it can stay as is. If a message helps to resolve issues, it
should be as informative as possible.

Moritz


More information about the ffmpeg-devel mailing list