From: lilo_booter Date: Tue, 12 Apr 2005 08:30:10 +0000 (+0000) Subject: Minor doc updates X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=2f1b696bd96dd00921b1f50e3458c2256b04310a;p=melted Minor doc updates git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt++@693 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/mlt++/CUSTOMISING b/mlt++/CUSTOMISING index 2248775..1fc4f2c 100644 --- a/mlt++/CUSTOMISING +++ b/mlt++/CUSTOMISING @@ -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( ) ) {