Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Flush GstBus on deconstruction. #1951
This ensures that no dangling messages are posted while the pipeline is switching states. The problem manifests on streaming video sources and it might be a GStreamer bug but in any case flushing the bus before resetting the pipeline solves it and probably makes more sense logically also in terms of order of descruction.