[Jahshaka-cvs] openlibraries/src/openmedialib/plugins/mlt mlt_plugin.cpp, 1.7, 1.8
Status: Beta
Brought to you by:
jahshaka
From: Charles Y. <lil...@us...> - 2006-12-16 19:31:50
|
Update of /cvsroot/openlibraries/openlibraries/src/openmedialib/plugins/mlt In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv29484/plugins/mlt Modified Files: mlt_plugin.cpp Log Message: + A new push (prep. for capture and inner graphs) Index: mlt_plugin.cpp =================================================================== RCS file: /cvsroot/openlibraries/openlibraries/src/openmedialib/plugins/mlt/mlt_plugin.cpp,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- mlt_plugin.cpp 3 Oct 2006 11:56:32 -0000 1.7 +++ mlt_plugin.cpp 16 Dec 2006 19:31:47 -0000 1.8 @@ -237,7 +237,7 @@ virtual input_type_ptr input( const opl::wstring& media ) { input_type_ptr input = input_type_ptr( new mlt_input( media ) ); - if ( input->has_video( ) || input->has_audio( ) ) + if ( input->get_frames( ) > 0 ) return input; else return input_type_ptr( ); |