]> git.sesse.net Git - mlt/blobdiff - src/mlt++/MltProfile.h
Add support for more image formats to vid.stab
[mlt] / src / mlt++ / MltProfile.h
index 2a1f891804c09ba71b119e4c0608b41235e1a28b..d1fc09c0116491f0d3e3c5e2008d6906368bdfd3 100644 (file)
@@ -2,19 +2,19 @@
  * MltProfile.h - MLT Wrapper
  * Copyright (C) 2008 Dan Dennedy <dan@dennedy.org>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published
- * by the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
  *
- * This program is distributed in the hope that it will be useful,
+ * This library is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software Foundation,
- * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
 #ifndef _MLTPP_PROFILE_H_
@@ -31,6 +31,7 @@
 namespace Mlt
 {
        class Properties;
+       class Producer;
 
        class MLTPP_DECLSPEC Profile
        {
@@ -57,6 +58,17 @@ namespace Mlt
                        int display_aspect_num() const;
                        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 );
+                       void set_height( int height );
+                       void set_sample_aspect( int numerator, int denominator );
+                       void set_progressive( int progressive );
+                       void set_colorspace( int colorspace );
+                       void set_frame_rate( int numerator, int denominator );
+                       void set_explicit( int boolean );
        };
 }