corrected compile issues on xenial (should fix linux CI)
This commit is contained in:
@@ -288,7 +288,7 @@ PixelFormat::Format OIIODecoder::GetFormatFromOIIOBasetype(const OIIO::ImageSpec
|
||||
|
||||
rational OIIODecoder::GetPixelAspectRatioFromOIIO(const OIIO::ImageSpec &spec)
|
||||
{
|
||||
return rational::fromDouble(spec.extra_attribs.get_float("PixelAspectRatio", 1));
|
||||
return rational::fromDouble(spec.get_float_attribute("PixelAspectRatio", 1));
|
||||
}
|
||||
|
||||
bool OIIODecoder::FileTypeIsSupported(const QString& fn)
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
#define COMMANDLINEPARSER_H
|
||||
|
||||
#include <QStringList>
|
||||
#include <QVector>
|
||||
|
||||
#include "common/define.h"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user