X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2B%2B%2Fsrc%2FMltPushConsumer.cpp;h=7d962187ac0610d7bc37214ab542b34666ad0b56;hb=46e165644d95f8fe7876262edfae298812725af0;hp=5c70777c6c28928269f4d0fc992bb0033a56e583;hpb=061d4b3c81f6311ec0483dbbfd50a4c5eddf479f;p=melted diff --git a/mlt++/src/MltPushConsumer.cpp b/mlt++/src/MltPushConsumer.cpp index 5c70777..7d96218 100644 --- a/mlt++/src/MltPushConsumer.cpp +++ b/mlt++/src/MltPushConsumer.cpp @@ -140,6 +140,7 @@ Frame *PushConsumer::construct( int size ) Frame *frame = new Frame( f ); uint8_t *buffer = ( uint8_t * )mlt_pool_alloc( size ); frame->set( "image", buffer, size, mlt_pool_release ); + mlt_frame_close( f ); return frame; }