<div dir="auto">Dear developers,<div dir="auto"><br></div><div dir="auto">I am relatively new to gstreamer plugin development. I am trying to create a simple video filter with one source and one sink pad.</div><div dir="auto"><br></div><div dir="auto">My video filter requires an internal buffer which has a size dependent on the input and output image formats (width, height, pixel stride). We can assume 24 bit packed RGB video format, but the width and the height is configurable.</div><div dir="auto"><br></div><div dir="auto">As far as I understand, the allocation of the buffer can be done in my overridden base_transform_start function.</div><div dir="auto"><br></div><div dir="auto">However I need to know the width and the height of the input and output video to allocate my buffers.</div><div dir="auto">I've implemented set_info from VideoFilter and set_caps from BaseTransform to know the negotiated video formats, however they are not called when I start the pipeline with gst-launch:</div><div dir="auto"><br></div><div dir="auto">gst-launch-1.0 -v videotestsrc ! video/x-raw,width=1280,height=720,format=rgb ! my_test_filter ! videoconvert ! autovideosink</div><div dir="auto"><br></div><div dir="auto">What am I missing? </div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Gabor Wacha</div><div dir="auto"><br></div></div>