ignore attr which are active, but have no value
authorlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Wed, 1 Dec 2004 16:26:27 +0000 (16:26 +0000)
committerlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Wed, 1 Dec 2004 16:26:27 +0000 (16:26 +0000)
git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@547 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/core/filter_data_feed.c

index 1f5c76c..9c8067a 100644 (file)
@@ -94,7 +94,7 @@ static mlt_frame filter_process( mlt_filter this, mlt_frame frame )
                        {
                                char *value = mlt_properties_get( frame_properties, name );
                                sprintf( inactive, "%s.inactive", name );
-                               if ( value != NULL && mlt_properties_get_int( frame_properties, inactive ) == 0 )
+                               if ( value != NULL && strcmp( value, "" ) && mlt_properties_get_int( frame_properties, inactive ) == 0 )
                                {
                                        // Create a new data feed
                                        mlt_properties feed = mlt_properties_new( );