]> git.sesse.net Git - mlt/blobdiff - src/mlt++/MltProperties.h
Fix doc error for mlt_playlist_is_blank().
[mlt] / src / mlt++ / MltProperties.h
index decb7d135056f1f937940b2c68e604056e077c8a..9ccbcf9d1d36c1bd324f5bb28a8eccaf2e18122a 100644 (file)
@@ -53,7 +53,7 @@ namespace Mlt
                        void unlock( );
                        void block( void *object = NULL );
                        void unblock( void *object = NULL );
-                       void fire_event( const char *event );
+                       int fire_event( const char *event );
                        bool is_valid( );
                        int count( );
                        char *get( const char *name );
@@ -97,20 +97,27 @@ namespace Mlt
                        int set_lcnumeric( const char *locale );
                        const char *get_lcnumeric( );
                        char *get_time( const char *name, mlt_time_format = mlt_time_smpte );
+                       char *frames_to_time( int, mlt_time_format = mlt_time_smpte );
+                       int time_to_frames( const char* time );
 
-                       int anim_get_int( const char *name, int position, int length );
-                       int anim_set( const char *name, int value, int position, int length,
+                       mlt_color get_color( const char *name );
+                       int set( const char *name , mlt_color value );
+
+                       char* anim_get( const char *name, int position, int length = 0 );
+                       int anim_set( const char *name, const char *value, int position, int length = 0 );
+                       int anim_get_int( const char *name, int position, int length = 0 );
+                       int anim_set( const char *name, int value, int position, int length = 0,
                                mlt_keyframe_type keyframe_type = mlt_keyframe_linear );
-                       double anim_get_double( const char *name, int position, int length );
-                       int anim_set( const char *name, double value, int position, int length,
+                       double anim_get_double( const char *name, int position, int length = 0 );
+                       int anim_set( const char *name, double value, int position, int length = 0,
                                mlt_keyframe_type keyframe_type = mlt_keyframe_linear );
 
                        int set( const char *name, mlt_rect value );
                        int set( const char *name, double x, double y, double w, double h, double opacity = 1.0 );
                        mlt_rect get_rect( const char* name );
-                       int anim_set( const char *name, mlt_rect value, int position, int length,
+                       int anim_set( const char *name, mlt_rect value, int position, int length = 0,
                                mlt_keyframe_type keyframe_type = mlt_keyframe_linear );
-                       mlt_rect anim_get_rect( const char *name, int position, int length );
+                       mlt_rect anim_get_rect( const char *name, int position, int length = 0 );
        };
 }