git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@82
d19143bc-622f-0410-bfdd-
b5b2a6649095
// Get inigo producer
inigo = mlt_factory_producer( "inigo", &argv[ 1 ] );
- if ( inigo != NULL && mlt_producer_get_length( inigo ) > 0 )
+ if ( argc > 1 && inigo != NULL && mlt_producer_get_length( inigo ) > 0 )
{
// Get inigo's properties
mlt_properties inigo_props = mlt_producer_properties( inigo );
" [ -filter id[:arg] [ name=value ] * ]\n"
" [ -transition id[:arg] [ name=value ] * ]\n"
" [ -blank time ]\n"
+ " [ -track ]\n"
" [ producer [ name=value ] * ]+\n" );
}
// Get inigo producer
inigo = mlt_factory_producer( "inigo", &argv[ 1 ] );
- if ( inigo != NULL && mlt_producer_get_length( inigo ) > 0 )
+ if ( argc > 1 && inigo != NULL && mlt_producer_get_length( inigo ) > 0 )
{
// Get inigo's properties
mlt_properties inigo_props = mlt_producer_properties( inigo );
" [ -filter id[:arg] [ name=value ] * ]\n"
" [ -transition id[:arg] [ name=value ] * ]\n"
" [ -blank time ]\n"
+ " [ -track ]\n"
" [ producer [ name=value ] * ]+\n" );
}