Error when QMediaPlayer setMedia QTemporaryFile
Solved
General and Desktop
-
Hi everyone, I'm trying to play write a wav file in QTemporaryFile and want to play it via QMediaPlayer. But i get the following error:
DirectShowPlayerService::doRender: Unknown error 0x80040266.
Does someone know what could be the problem?
-
So does it work with a normal QFile?
-
I found out the problem, QTemporaryFile cannot set flag for append, it makes the audio file corrupted.