added waveform support in footage viewer and fixed audio regression where sound stopped playing if it hit EOF

This commit is contained in:
itsmattkc
2018-10-19 21:23:15 +11:00
parent 8b0b33f431
commit 84347a0988
15 changed files with 223 additions and 154 deletions
+5 -1
View File
@@ -11,6 +11,7 @@
class Viewer;
struct Clip;
struct MediaStream;
class QOpenGLFramebufferObject;
class ViewerWidget : public QOpenGLWidget
@@ -19,11 +20,14 @@ class ViewerWidget : public QOpenGLWidget
public:
ViewerWidget(QWidget *parent = 0);
bool rendering;
void paintGL();
void initializeGL();
Viewer* viewer;
bool waveform;
Clip* waveform_clip;
MediaStream* waveform_ms;
QOpenGLFramebufferObject* default_fbo;
protected:
void paintEvent(QPaintEvent *e);