Closed nick-cr closed 3 years ago
Most being freed now, a decoder can decode 10,000 frames and use the same amount of memory, but when the transformer/decoder is released, some memory still lingers around. (Broadway doesn't do this, so it's definitely something inside mediafoundation)
Fixed in 5770d4a7e9a4a0afddbec919235b6f892c2a806c
Steps to reproduce:
Either
Dispose()
orPopH264_DestroyDecoder(Instance.Value);
or
The memory is not cleared (which looks roughly equivalent to the buffered frames). If you create instances of players regularly and play relatively high definition video this is a very quick memory leak!