From: lilo_booter Date: Thu, 15 Jan 2004 19:33:33 +0000 (+0000) Subject: inigo usage message X-Git-Url: http://research.m1stereo.tv/gitweb?a=commitdiff_plain;h=f4ddf54462a611e23ac0ad8ac52bb9c6f8aafb6f;p=melted inigo usage message git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@82 d19143bc-622f-0410-bfdd-b5b2a6649095 --- diff --git a/mlt/src/inigo/inigo.c b/mlt/src/inigo/inigo.c index 6a12605..c8552c3 100644 --- a/mlt/src/inigo/inigo.c +++ b/mlt/src/inigo/inigo.c @@ -170,7 +170,7 @@ int main( int argc, char **argv ) // 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 ); @@ -242,6 +242,7 @@ int main( int argc, char **argv ) " [ -filter id[:arg] [ name=value ] * ]\n" " [ -transition id[:arg] [ name=value ] * ]\n" " [ -blank time ]\n" + " [ -track ]\n" " [ producer [ name=value ] * ]+\n" ); } diff --git a/src/inigo/inigo.c b/src/inigo/inigo.c index 6a12605..c8552c3 100644 --- a/src/inigo/inigo.c +++ b/src/inigo/inigo.c @@ -170,7 +170,7 @@ int main( int argc, char **argv ) // 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 ); @@ -242,6 +242,7 @@ int main( int argc, char **argv ) " [ -filter id[:arg] [ name=value ] * ]\n" " [ -transition id[:arg] [ name=value ] * ]\n" " [ -blank time ]\n" + " [ -track ]\n" " [ producer [ name=value ] * ]+\n" ); }