producer_pango.c
authorlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Tue, 19 Jul 2005 21:23:08 +0000 (21:23 +0000)
committerlilo_booter <lilo_booter@d19143bc-622f-0410-bfdd-b5b2a6649095>
Tue, 19 Jul 2005 21:23:08 +0000 (21:23 +0000)
+ Correction of oversight - allow serialisation of mpl usage

git-svn-id: https://mlt.svn.sourceforge.net/svnroot/mlt/trunk/mlt@771 d19143bc-622f-0410-bfdd-b5b2a6649095

src/modules/gtk2/producer_pango.c

index 601525d..7da47d1 100644 (file)
@@ -146,6 +146,7 @@ mlt_producer producer_pango_init( const char *filename )
                        mlt_properties contents = mlt_properties_load( filename );
                        mlt_geometry key_frames = mlt_geometry_init( );
                        struct mlt_geometry_item_s item;
+                       mlt_properties_set( properties, "resource", ( char * )filename );
                        mlt_properties_set_data( properties, "contents", contents, 0, ( mlt_destructor )mlt_properties_close, NULL );
                        mlt_properties_set_data( properties, "key_frames", key_frames, 0, ( mlt_destructor )mlt_geometry_close, NULL );