fixed linking bug

This commit is contained in:
itsmattkc
2018-07-18 13:17:14 +01:00
parent de46eb861b
commit 5e70fd4534
7 changed files with 55 additions and 36 deletions
-1
View File
@@ -5,7 +5,6 @@
#include <windows.h>
#endif
const char* version = "Olive (May 2018 | Pre-Alpha)";
float scale = 1.0f;
bool vsync = true;
bool hwaccel = false;
+1 -1
View File
@@ -6,7 +6,7 @@ extern "C" {
#include <libavformat/avformat.h>
}
Media::Media() {}
Media::Media() : ready(false) {}
Media::~Media() {
for (int i=0;i<video_tracks.size();i++) {
+1
View File
@@ -34,6 +34,7 @@ struct Media
QVector<MediaStream*> video_tracks;
QVector<MediaStream*> audio_tracks;
int save_id;
bool ready;
long get_length_in_frames(float frame_rate);
MediaStream* get_stream_from_file_index(int index);
};