Skip to content

tutorial: Add identity element based directly on GstElement

It's simply passing through everything from one side to another, and is much simpler than the upstream identity element (which is based on basesrc). Fun fact: it's also about 2% faster, but that's not very surprising because it does less ;)

This could also be easily used as template for writing new gst::Element subclasses.

CC @alatiera

Merge request reports