Adding profile.colorspace property to QML UI?

A few frei0r filters have a colorspace parameter. Without access to the profile's colorspace, supplying a parameter value is a guess. What would be needed to expose colorspace beyond the additional code below?

Shotcut source file: src/qmltypes/qmlprofile.cpp

int QmlProfile::colorspace() const
{
    return MLT.profile().colorspace();
}

Would more changes than this be required (along with associated plumbing in qmlprofile.h)? Is this even the right way to go about supplying frei0r parameters for colorspace?

Thanks.

Add a Q_PROPERTY line in qmlprofile.h

This topic was automatically closed after 90 days. New replies are no longer allowed.