You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
DummyReader: Initialize is_open
This commit is contained in:
@@ -33,14 +33,16 @@
|
||||
using namespace openshot;
|
||||
|
||||
// Blank constructor for DummyReader, with default settings.
|
||||
DummyReader::DummyReader() {
|
||||
DummyReader::DummyReader() : is_open(false) {
|
||||
|
||||
// Call actual constructor with default values
|
||||
DummyReader(Fraction(24,1), 1280, 768, 44100, 2, 30.0);
|
||||
}
|
||||
|
||||
// Constructor for DummyReader. Pass a framerate and samplerate.
|
||||
DummyReader::DummyReader(Fraction fps, int width, int height, int sample_rate, int channels, float duration) {
|
||||
DummyReader::DummyReader(Fraction fps, int width, int height,
|
||||
int sample_rate, int channels, float duration)
|
||||
: is_open(false) {
|
||||
|
||||
// Set key info settings
|
||||
info.has_audio = false;
|
||||
|
||||
Reference in New Issue
Block a user