]> git.sesse.net Git - mlt/commitdiff
add Mlt::Profile::colorspace()
authorDan Dennedy <dan@dennedy.org>
Mon, 10 Sep 2012 00:31:10 +0000 (17:31 -0700)
committerDan Dennedy <dan@dennedy.org>
Mon, 10 Sep 2012 00:31:10 +0000 (17:31 -0700)
src/mlt++/MltProfile.cpp
src/mlt++/MltProfile.h

index e470a6ed8805270b06c21dd1caf6ea6ef40fd640..f4dce193b97169f3f7069e25278a3d5b176525b3 100644 (file)
@@ -128,6 +128,11 @@ int Profile::is_explicit() const
        return instance->is_explicit;
 }
 
+int Profile::colorspace() const
+{
+       return instance->colorspace;
+}
+
 Properties* Profile::list()
 {
        return new Properties( mlt_profile_list() );
index 3e95d5fdd69d9847e72a880c635fff6203d20ff0..d1fc09c0116491f0d3e3c5e2008d6906368bdfd3 100644 (file)
@@ -59,6 +59,7 @@ namespace Mlt
                        int display_aspect_den() const;
                        double dar() const;
                        int is_explicit() const;
+                       int colorspace() const;
                        static Properties* list();
                        void from_producer( Producer &producer );
                        void set_width( int width );