work on internal color management
This commit is contained in:
@@ -24,7 +24,8 @@
|
||||
|
||||
Stream::Stream() :
|
||||
footage_(nullptr),
|
||||
type_(kUnknown)
|
||||
type_(kUnknown),
|
||||
enabled_(true)
|
||||
{
|
||||
|
||||
}
|
||||
@@ -88,6 +89,16 @@ void Stream::set_duration(const int64_t &duration)
|
||||
duration_ = duration;
|
||||
}
|
||||
|
||||
bool Stream::enabled()
|
||||
{
|
||||
return enabled_;
|
||||
}
|
||||
|
||||
void Stream::set_enabled(bool e)
|
||||
{
|
||||
enabled_ = e;
|
||||
}
|
||||
|
||||
QIcon Stream::IconFromType(const Stream::Type &type)
|
||||
{
|
||||
switch (type) {
|
||||
|
||||
@@ -78,6 +78,9 @@ public:
|
||||
const int64_t& duration() const;
|
||||
void set_duration(const int64_t& duration);
|
||||
|
||||
bool enabled();
|
||||
void set_enabled(bool e);
|
||||
|
||||
static QIcon IconFromType(const Type& type);
|
||||
|
||||
private:
|
||||
@@ -91,6 +94,8 @@ private:
|
||||
|
||||
Type type_;
|
||||
|
||||
bool enabled_;
|
||||
|
||||
};
|
||||
|
||||
using StreamPtr = std::shared_ptr<Stream>;
|
||||
|
||||
Reference in New Issue
Block a user