Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Gstreamer encounted a general stream error
helthans last edited by
I have a audioplayer which currently repeats the same 3 songs. It can play fine for hours, days or week, but in some odd occasions I get the following error message: "Error: Gstreamer encounted a general stream error" and application stops playing :(
Does anyone know if it is possible to capture this error in Qt, such I can do some appropriate actions instead of the player just stop playing?
In my code I have
m_player = new QMediaPlayer(this);
... and in the function which starts the player, I have tried with a try-catch statement:
qDebug() << "PLAYER ERROR";
but that isn't enough.