ASSERT: "m_surface" when playing video

  • Hi,

    I am having a problem when trying to display a video in a QDialog on Windows. I am constantly getting an assert in debug

    Program: c:\users\vm-chris\desktop\debug\Qt5Cored.dll
    Module: 5.1.1
    File: global\qglobal.cpp
    Line: 2014

    ASSERT: "m_surface" in file player\mfvideorenderercontrol.cpp, line 2192

    Which I can ignore and it will work, however in release mode, it crashes instead. This only happens on windows, I also run it on OS X and I've never had this issue.

    Is there some call that I should be making prior to ensure that m_surface is never null by the time it hits this line?

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.