]> git.sesse.net Git - mlt/commitdiff
fix pango producer in XML with no resource filename
authorDan Dennedy <dan@dennedy.org>
Sat, 22 Sep 2012 20:27:02 +0000 (13:27 -0700)
committerDan Dennedy <dan@dennedy.org>
Sat, 22 Sep 2012 20:27:02 +0000 (13:27 -0700)
src/modules/gtk2/producer_pango.c

index be9c3c967c9d8e806ab48da851253b6f8c556baa..0bd4aeff54faeab23dc35b258f76e98a0399a9af 100644 (file)
@@ -157,6 +157,7 @@ mlt_producer producer_pango_init( const char *filename )
                mlt_properties_set_int( properties, "seekable", 1 );
 
                if ( filename == NULL || ( filename && ( !strcmp( filename, "" )
+                       || strstr( filename, "<producer>" )
                        // workaround for old kdenlive countdown generator
                        || strstr( filename, "&lt;producer&gt;" ) ) ) )
                {