V4l2h264dec keeps incrementing in logs when revisiting webpage with video

Hi,

I’m running Cog/Wpewebkit browser on raspberry pi 4 and showing a video on my React.js website. I have an autoplaying video on one of the pages. Every time I leave and navigate back to the page, I noticed in the logs that “v4l2h264dec0” increments to v4l2h264dec1, v4l2h264dec2, v4l2h264dec3, etc… I’m also noticing “media-player-1”, media-player-2, etc…

When I navigate away I see the following in the logs after the video goes to paused:
gst_pipeline_change_state:<media-player-4> pipeline is not live

Is this normal or does this point to a possible memory leak or pipelines not being released?

Thanks

It’s normal, elements are automatically given unique names using incrementing counters. That only mean you have got a fresh decoder/player instance.