When I have a h264 bitstream that I feed into the video_decode component, is there a way to get notified when a frame has been decoded or is either ready for display or being rendered (with the video_render component) already?
One solution that might work is to inspect the bitstream and detect access unit starts/ends and mark the buffer that I feed into the decoder and listen for the mark event. As this makes buffer management/parsing a bit complex (e.g. when filling a full complete buffer contains 2 access units I would need to split it into two separte buffers), I'm trying to find other possibilities.
Another solution could be to create my own component and attach it in a tunnel between the video_decode and video_render component. This is just a wild guess and I'm not sure if this might work.
Any other solutions maybe?