X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fmodules%2Fgtk2%2Fproducer_pixbuf.c;h=06b32c652d76c132d1bb50a781d29c1eea4b62d9;hb=35aa3217c6ad838d1612875e3efdb0c99e4fd639;hp=b8a792d4e8e342e3cd523f04805dd4e1c6e43447;hpb=ba935b798fa57c7541cfa274021c330d1cdf7874;p=melted diff --git a/src/modules/gtk2/producer_pixbuf.c b/src/modules/gtk2/producer_pixbuf.c index b8a792d..06b32c6 100644 --- a/src/modules/gtk2/producer_pixbuf.c +++ b/src/modules/gtk2/producer_pixbuf.c @@ -89,6 +89,8 @@ mlt_producer producer_pixbuf_init( const char *filename ) gap ++; } } + mlt_properties_set_timecode( properties, "out", this->count ); + mlt_properties_set_timecode( properties, "playtime", this->count ); } else if ( strstr( filename, "/.all." ) != NULL ) { @@ -115,6 +117,8 @@ mlt_producer producer_pixbuf_init( const char *filename ) free( de[ i ] ); } + mlt_properties_set_timecode( properties, "out", this->count ); + mlt_properties_set_timecode( properties, "playtime", this->count ); free( de ); free( dir_name ); } @@ -122,6 +126,8 @@ mlt_producer producer_pixbuf_init( const char *filename ) { this->filenames = realloc( this->filenames, sizeof( char * ) * ( this->count + 1 ) ); this->filenames[ this->count ++ ] = strdup( filename ); + mlt_properties_set_timecode( properties, "out", 1 ); + mlt_properties_set_timecode( properties, "playtime", 1 ); } // Initialise gobject types