Merge branch 'develop' into new-header-move2

This commit is contained in:
FeRD (Frank Dana)
2020-10-19 15:12:28 -04:00
5 changed files with 50 additions and 35 deletions

View File

@@ -35,14 +35,7 @@
using namespace openshot;
ImageReader::ImageReader(std::string path) : path(path), is_open(false)
{
// Open and Close the reader, to populate its attributes (such as height, width, etc...)
Open();
Close();
}
ImageReader::ImageReader(std::string path, bool inspect_reader) : path(path), is_open(false)
ImageReader::ImageReader(const std::string& path, bool inspect_reader) : path(path), is_open(false)
{
// Open and Close the reader, to populate its attributes (such as height, width, etc...)
if (inspect_reader) {