Freeing memory in Example1 #71
-
|
Thank you for providing this wonderful package, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
Hi, I made some changes in the sample. The main issue was that FSampleSinkWriter was not correctly freed from memory. The changes in the sample are uploaded to GitHub. Thank you for reporting this issue. |
Beta Was this translation helpful? Give feedback.
-
|
Thank you for the changes, |
Beta Was this translation helpful? Give feedback.
Hi,
I made some changes in the sample.
The main issue was that FSampleSinkWriter was not correctly freed from memory.
The others are creating and freeing the sinkwriter in combination with repeatetly calling MFStartup increases memory consumption while running a lot. This will not affects memory when closing the app, but should not happen.
The changes in the sample are uploaded to GitHub.
Thank you for reporting this issue.