Restarting pipeline results in Internal data stream error
See main.cpp for a minimal example.
In this example the decodebin is not needed, and in fact if that element is removed restarting the pipeline works as expected. However in my actual use case I replace the videotestsrc with a filesrc, there I need it obviously.
My system is Arch Linux btw, gstreamer 1.14.4