> diff --git a/libavcodec/qsvdec.c b/libavcodec/qsvdec.c index eef4fe7..319b549 > 100644 > --- a/libavcodec/qsvdec.c > +++ b/libavcodec/qsvdec.c > @@ -46,6 +46,7 @@ const AVCodecHWConfigInternal *ff_qsv_hw_configs[] = { > .public = { > .pix_fmt = AV_PIX_FMT_QSV, > .methods = AV_CODEC_HW_CONFIG_METHOD_HW_FRAMES_CTX | > + AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX |
AV_CODEC_HW_CONFIG_METHOD_HW_DEVICE_CTX means we can support AV_PIX_FMT_QSV by AVCodecContext.hw_device_ctx This is not supported for qsv now. And even if it is supported, there is no business of system memory frame, just means output AV_PIX_FMT_QSV format frame created by hw_device_ctx. > AV_CODEC_HW_CONFIG_METHOD_AD_HOC, > .device_type = AV_HWDEVICE_TYPE_QSV, > }, > -- > 2.7.4 Probably we need to add MFXVideoCORE_SetHandle() function for system memory output path, which is removed by 1f26a231bb065276cd80ce02957c759f3197edfa. I will try to give a patch to fix it ASAP. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".