On Tue, 3 Oct 2017 15:58:32 +0200
Timo Rothenpieler <[email protected]> wrote:
> > -static AVHWAccel *find_hwaccel(enum AVCodecID codec_id,
> > +static AVHWAccel *find_hwaccel(AVCodecContext *avctx,
> > enum AVPixelFormat pix_fmt)
> > {
> > AVHWAccel *hwaccel = NULL;
> > + const AVClass *av_class =
> > + (avctx->codec->caps_internal & FF_CODEC_CAP_HWACCEL_REQUIRE_CLASS)
> > + ? avctx->av_class : NULL;
Also this is actually completely broken. It's trivially fixed, but if
anyone actually wants to try the patches, here's an updated set:
https://github.com/wm4/FFmpeg/tree/libav-cuvid
_______________________________________________
ffmpeg-devel mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel