[FFmpeg-cvslog] avfilter/ddagrab: actually use provided texture pointer

Timo Rothenpieler git at videolan.org
Mon Oct 9 21:39:53 EEST 2023


ffmpeg | branch: master | Timo Rothenpieler <timo at rothenpieler.org> | Sun Oct  8 15:47:38 2023 +0200| [0e7ae95cc289e5b5264ff2921f361eca3702aab1] | committer: Timo Rothenpieler

avfilter/ddagrab: actually use provided texture pointer

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=0e7ae95cc289e5b5264ff2921f361eca3702aab1
---

 libavfilter/vsrc_ddagrab.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vsrc_ddagrab.c b/libavfilter/vsrc_ddagrab.c
index 2d9d71a7ba..936936eb7f 100644
--- a/libavfilter/vsrc_ddagrab.c
+++ b/libavfilter/vsrc_ddagrab.c
@@ -470,7 +470,7 @@ static int create_d3d11_pointer_tex(AVFilterContext *avctx,
     }
 
     hr = ID3D11Device_CreateShaderResourceView(dda->device_hwctx->device,
-        (ID3D11Resource*)dda->mouse_texture,
+        (ID3D11Resource*)*out_tex,
         &resource_desc,
         res_view);
     if (FAILED(hr)) {



More information about the ffmpeg-cvslog mailing list