diff options
author | Chris Xiong <chirs241097@gmail.com> | 2020-05-02 00:57:43 +0800 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2020-05-02 00:57:43 +0800 |
commit | f4f80b19a27118275d5f925558f3cfb46bb5d14b (patch) | |
tree | 790b0ec021b9eec25d12664b05a405613565ac49 /visualization/renderer/qmpvisrendercore.hpp | |
parent | afeb558e50ad8d80f044439d39193d1cbc566580 (diff) | |
download | QMidiPlayer-f4f80b19a27118275d5f925558f3cfb46bb5d14b.tar.xz |
Reworked parameter passing for the frame processor program.
Diffstat (limited to 'visualization/renderer/qmpvisrendercore.hpp')
-rw-r--r-- | visualization/renderer/qmpvisrendercore.hpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/visualization/renderer/qmpvisrendercore.hpp b/visualization/renderer/qmpvisrendercore.hpp index d32e4d7..71eeaed 100644 --- a/visualization/renderer/qmpvisrendercore.hpp +++ b/visualization/renderer/qmpvisrendercore.hpp @@ -4,6 +4,8 @@ #include <cstddef> #include <QObject> +#include <QVariant> +#include <QMap> #include "qmpcorepublic.hpp" class qmpPluginAPIStub; @@ -38,9 +40,13 @@ private: qmpPluginAPIStub *api; CMidiPlayer *player; qmpSettingsRO *msettings; - QProcess *ffmpegproc; + QProcess *rxproc; + QMap<QChar,QVariant> subst; QCommandLineParser *clp; - QStringList split_arguments(QString a); + QStringList process_arguments(QString a, QMap<QChar,QVariant> subst); + int frameno; + bool oneshot; + QMetaObject::Connection frameconn; typedef qmpPluginIntf*(*GetInterface_func)(qmpPluginAPI*); typedef void(*SwitchMode_func)(void(*frameCallback)(void*,size_t,uint32_t,uint32_t),bool hidewindow); |