work on decoder classes

This commit is contained in:
itsmattkc
2019-05-29 03:05:10 +10:00
parent d76ac6ff38
commit aa0832c482
29 changed files with 6238 additions and 12556 deletions
+10 -1
View File
@@ -45,18 +45,27 @@ enum VideoInterlacingMode {
class Sequence;
class Clip;
class PreviewGenerator;
class Footage;
struct FootageStream {
// Format stream index
Footage* footage;
int file_index;
// Video parameters
int video_width;
int video_height;
bool infinite_length;
double video_frame_rate;
int video_interlacing;
int video_auto_interlacing;
bool infinite_length;
// Audio parameters
int audio_channels;
int audio_layout;
int audio_frequency;
// Enabled
bool enabled;
// preview thumbnail/waveform
+2
View File
@@ -127,6 +127,8 @@ void PreviewGenerator::parse_media() {
}
}
ms.footage = footage_;
if (append) stream_list.append(ms);
}
}