inigo usage message
authorlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Thu, 15 Jan 2004 19:33:33 +0000 (19:33 +0000)
committerlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Thu, 15 Jan 2004 19:33:33 +0000 (19:33 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@82 d19143bc-622f-0410-bfdd-b5b2a6649095

mlt/src/inigo/inigo.c
src/inigo/inigo.c

index 6a12605..c8552c3 100644 (file)
@@ -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" );
        }
 
index 6a12605..c8552c3 100644 (file)
@@ -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" );
        }