X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=mlt%2B%2B%2Fsrc%2FMltFrame.cpp;h=546220d968d607218b22288b80ef208d4d92bd41;hb=6468e1ff9f9e9aeed0aa9eadb0a0491cd994b979;hp=4457cecb1d9bedc5700839c5e600441fd1169512;hpb=1fcd5e9c6cec812a621bcfed5a96bb50957602e3;p=melted diff --git a/mlt++/src/MltFrame.cpp b/mlt++/src/MltFrame.cpp index 4457cec..546220d 100644 --- a/mlt++/src/MltFrame.cpp +++ b/mlt++/src/MltFrame.cpp @@ -19,6 +19,7 @@ */ #include "MltFrame.h" +#include "MltProducer.h" using namespace Mlt; Frame::Frame( mlt_frame frame ) : @@ -82,3 +83,7 @@ unsigned char *Frame::get_waveform( int w, int h ) return mlt_frame_get_waveform( get_frame( ), w, h ); } +Producer *Frame::get_original_producer( ) +{ + return new Producer( mlt_frame_get_original_producer( get_frame( ) ) ); +}