<div style="font-family: arial; font-size: 14px;"><div style="font-family: arial; font-size: 14px;">Update: my filtering code was fine; I was displaying the wrong frame 🤦.<br></div></div><div class="protonmail_quote">
------- Original Message -------<br>
On Sunday, February 13th, 2022 at 4:55 PM, icy_flurry <Icy_Flurry@protonmail.com> wrote:<br>
<blockquote class="protonmail_quote" type="cite">
<div style="font-family: arial; font-size: 14px;"><div style="font-family: arial; font-size: 14px;">Hi,<br></div><div style="font-family: arial; font-size: 14px;"><br></div><div style="font-family: arial; font-size: 14px;">I'm trying to scale an image in hardware using VA-API with libavfilter. I also want to change the colorspace of the image to BGRA. However, the output frame I get is just a black image with a white line on top. How do I fix this? Let me know if more information is required.<br></div></div><div style="font-family: arial; font-size: 14px;"><br></div><div style="font-family: arial; font-size: 14px;">Code: <a href="https://pastecord.com/eqagejavum.cpp" rel="noreferrer nofollow noopener" target="_blank">https://pastecord.com/eqagejavum.cpp</a><br></div><div style="font-family: arial; font-size: 14px;"><br></div><div style="font-family: arial; font-size: 14px;">Thanks in advance</div>
</blockquote><br>
</div>