one should delete the QMediaPlayer in the owner thread to avoid crash
Details
Details
Diff Detail
Diff Detail
- Repository
- R286 KFileMetaData
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage
Comment Actions
The problem is that, on Windows, internal objects of QMediaPlayer need to be destroyed in the context of the thread where they have been created. I am not sure making mMetadataExtractor have mRunnerThread as its parent will help on that.
I can test but have no Windows around currently to do the test.
Comment Actions
Sorry for the delay, currently I have no easy access to a development computer running Windows.
David, I am afraid I have not understood correctly your suggestion. Did you suggest to make mMetadataExtractor have its thread as Qt parent ?