mirror of
https://git.sr.ht/~thestr4ng3r/chiaki
synced 2025-08-20 21:43:12 -07:00
Make Video Decoding more stable
This commit is contained in:
parent
3c5912ad75
commit
55002a4585
10 changed files with 116 additions and 18 deletions
|
@ -19,6 +19,7 @@
|
|||
#define CHIAKI_STREAMSESSION_H
|
||||
|
||||
#include "videodecoder.h"
|
||||
#include "exception.h"
|
||||
|
||||
#include <QObject>
|
||||
#include <QImage>
|
||||
|
@ -33,14 +34,10 @@ class QAudioOutput;
|
|||
class QIODevice;
|
||||
class QKeyEvent;
|
||||
|
||||
class ChiakiException : public std::exception
|
||||
class ChiakiException: public Exception
|
||||
{
|
||||
private:
|
||||
QString msg;
|
||||
|
||||
public:
|
||||
explicit ChiakiException(const QString &msg) : msg(msg) {}
|
||||
const char *what() const noexcept override { return msg.toLocal8Bit().constData(); }
|
||||
explicit ChiakiException(const QString &msg) : Exception(msg) {};
|
||||
};
|
||||
|
||||
struct StreamSessionConnectInfo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue