added waveform support in footage viewer and fixed audio regression where sound stopped playing if it hit EOF
This commit is contained in:
+5
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user