[Libav-user] Memory doesn't decrease after freeing a derived device context of type AV_HWDEVICE_TYPE_QSV

2023-06-10 Thread karim abd
Hi I was able to encode ID3D11Texture2D successfully using a derived device context of type V_HWDEVICE_TYPE_QSV and its hardware frames context but when I try to free them the memory does not decrease. I am not very sure if I missed something to free or it is a bug. Here is a small code to

Re: [Libav-user] Memory doesn't decrease after freeing a derived device context of type AV_HWDEVICE_TYPE_QSV

2023-06-13 Thread karim abd
Hi Thank you for your help I tried your code but it doesn’t leak memory My code leaks memory only when these 2 lines are used err = av_hwdevice_ctx_create_derived(>hw_device_ctx, AV_HWDEVICE_TYPE_QSV, hardwareDeviceContext, 0); err

Re: [Libav-user] Memory doesn't decrease after freeing a derived device context of type AV_HWDEVICE_TYPE_QSV

2023-06-19 Thread karim abd
Thank you for your help using your patches hwcontext_qsv works without any memory leaks Best regards From: Xiang, Haihao Sent: Monday, 19 June 2023 4:36 am To: libav-user@ffmpeg.org Subject: Re: [Libav-user] Memory

Re: [Libav-user] Memory doesn't decrease after freeing a derived device context of type AV_HWDEVICE_TYPE_QSV

2023-06-19 Thread karim abd
Hi Haihao It works Thank you there are no more memory leaks Best regards ___ Libav-user mailing list Libav-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/libav-user To unsubscribe, visit link above, or email libav-user-requ...@ffmpeg.org with