References held by contained stream objects must use an internal refcount, otherwise they prevent release of the media source if Start() and Shutdown() are not called.
--
v2: winegstreamer: Introduce an internal refcount in media source objects.
mfplat/tests: Test the refcount before the media source is released.
https://gitlab.winehq.org/wine/wine/-/merge_requests/6783