Minor doc updates
authorlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Tue, 12 Apr 2005 08:30:10 +0000 (08:30 +0000)
committerlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Tue, 12 Apr 2005 08:30:10 +0000 (08:30 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt++@693 d19143bc-622f-0410-bfdd-b5b2a6649095

mlt++/CUSTOMISING

index 2248775..1fc4f2c 100644 (file)
@@ -181,8 +181,8 @@ ACCESSING UNIT PROPERTIES
 
        You can extract the objects using:
 
-               Playlist playlist( ( mlt_playlist )( unit( i )->get_data( "playlist", NULL ) ) );
-               Consumer consumer( ( mlt_consumer )( unit( i )->get_data( "consumer", NULL ) ) );
+               Playlist playlist( ( mlt_playlist )( unit( i )->get_data( "playlist" ) ) );
+               Consumer consumer( ( mlt_consumer )( unit( i )->get_data( "consumer" ) ) );
        
        and use the standard MLT++ wrapping methods to interact with them or you can 
        bypass these and using the C API directly.
@@ -266,8 +266,7 @@ HANDLING PUSHED DOCUMENTS
 
                Response *push( char *command, Service *service )
                {
-                       int size;
-                       Playlist playlist( ( mlt_playlist )( unit( 0 )->get_data( "playlist", size ) ) );
+                       Playlist playlist( ( mlt_playlist )( unit( 0 )->get_data( "playlist" ) ) );
                        Producer producer( *service );
                        if ( producer.is_valid( ) && playlist.is_valid( ) )
                        {