MltProducer.{h,cpp}, mltpp.i: remove Producer::get_frame that is unncessary and intro...
authorddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Thu, 26 Jun 2008 05:46:29 +0000 (05:46 +0000)
committerddennedy <ddennedy@d19143bc-622f-0410-bfdd-b5b2a6649095>
Thu, 26 Jun 2008 05:46:29 +0000 (05:46 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt++@1152 d19143bc-622f-0410-bfdd-b5b2a6649095

mlt++/src/MltProducer.cpp
mlt++/src/MltProducer.h
mlt++/swig/mltpp.i

index e98e513..39a93db 100644 (file)
@@ -190,12 +190,3 @@ void Producer::optimise( )
 {
        mlt_producer_optimise( get_producer( ) );
 }
-
-Frame* Producer::get_frame( int index )
-{
-       mlt_frame f = NULL;
-       int result = get_producer()->get_frame( get_producer(), &f, index );
-       if ( f )
-               return new Frame( f );
-       return NULL;
-}
index b1b8172..cf43173 100644 (file)
@@ -68,7 +68,6 @@ namespace Mlt
                        bool same_clip( Producer &that );
                        bool runs_into( Producer &that );
                        void optimise( );
-                       Frame* get_frame( int index = 0 );
        };
 }
 
index 93e2ca7..f6060b7 100644 (file)
@@ -42,7 +42,6 @@ namespace Mlt {
 %newobject Service::filter( int );
 %newobject Producer::filter( int );
 %newobject Producer::cut( int, int );
-%newobject Producer::get_frame( int );
 %newobject Playlist::current( );
 %newobject Playlist::clip_info( int );
 %newobject Playlist::get_clip( int );