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

Moritz Barsnick barsnick at gmx.net
Thu Jul 5 16:20:22 EEST 2018


On Thu, Jul 05, 2018 at 10:17:35 +0000, Li, Zhong wrote:
> > From: ffmpeg-devel [mailto:ffmpeg-devel-bounces at ffmpeg.org] On Behalf Of Moritz Barsnick
[...]
> > Ideally, the returned mfxStatus would be evaluated and printed, but no such
> > function is available (yet). %d perhaps?
> 
> ff_qsv_print_error() can be used to print detailed error type. Is it helpful?

Basically yes, even in other places, but that function's in libavcodec,
and we're in libavutil. We would need to move the code around IIUC, but
I don't have any way of testing new code with this failing scenario
right now (I have this effect on a Windows machine, but can't actually
build on Windows), so that would be a blind modification from my side.
Better if the QSV maintainers (i.e. you ;-)) did this.

This is the issue it would help to understand:
http://ffmpeg.org/pipermail/ffmpeg-user/2018-July/040438.html

Thanks,
Moritz


More information about the ffmpeg-devel mailing list