<div dir="ltr">Hi,<div><br></div><div>I am now writing a transform plugin for video stream.</div><div><br></div><div>When I use <span style="background-color:rgba(114,159,207,0.0980392);color:rgb(0,0,0)">GstFlowReturn (*transform_ip) (GstBaseTransform *trans, GstBuffer *buf), it works fine. Inside the function I do nothing to the buffer. The ximagesink display is the camera capture.</span></div><div><span style="background-color:rgba(114,159,207,0.0980392);color:rgb(0,0,0)"><br></span></div><div><font color="#000000"><span style="background-color:rgba(114,159,207,0.0980392)">Because of what I need is to change the buffer size, I come to </span></font><span style="background-color:rgba(114,159,207,0.0980392);color:rgb(0,0,0)">GstFlowReturn (*transform)    (GstBaseTransform *trans, GstBuffer *inbuf, GstBuffer *outbuf).</span></div><div><span style="background-color:rgba(114,159,207,0.0980392);color:rgb(0,0,0)">In this function, I first do a simple test with copying inbuf to outbuf. I check the data in outbuf which seems to be changed with camera captures. However, the ximagesink display is always black. I don't know why. It should be same to what I did in </span><span style="background-color:rgba(114,159,207,0.0980392);color:rgb(0,0,0)">(*transform_ip), but not.</span></div><div><span style="background-color:rgba(114,159,207,0.0980392);color:rgb(0,0,0)"><br></span></div><div><span style="background-color:rgba(114,159,207,0.0980392);color:rgb(0,0,0)">Thanks in advance!</span></div><div><span style="background-color:rgba(114,159,207,0.0980392);color:rgb(0,0,0)"><br></span></div><div><span style="background-color:rgba(114,159,207,0.0980392);color:rgb(0,0,0)">Best regards</span></div></div>