From: Dan Dennedy Date: Thu, 8 Mar 2012 07:10:11 +0000 (-0800) Subject: indicate image producers seekable X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=bf217de2edd6ada15d5bda36dca5bd60e7ac477e;p=mlt indicate image producers seekable --- diff --git a/src/modules/gtk2/producer_pango.c b/src/modules/gtk2/producer_pango.c index 363e5391..48399069 100644 --- a/src/modules/gtk2/producer_pango.c +++ b/src/modules/gtk2/producer_pango.c @@ -154,6 +154,7 @@ mlt_producer producer_pango_init( const char *filename ) mlt_properties_set( properties, "style", "normal" ); mlt_properties_set( properties, "encoding", "UTF-8" ); mlt_properties_set_int( properties, "weight", PANGO_WEIGHT_NORMAL ); + mlt_properties_set_int( properties, "seekable", 1 ); if ( filename == NULL || ( filename && ( !strcmp( filename, "" ) // workaround for old kdenlive countdown generator diff --git a/src/modules/gtk2/producer_pixbuf.c b/src/modules/gtk2/producer_pixbuf.c index c76c41f1..f6921231 100644 --- a/src/modules/gtk2/producer_pixbuf.c +++ b/src/modules/gtk2/producer_pixbuf.c @@ -90,6 +90,7 @@ mlt_producer producer_pixbuf_init( char *filename ) mlt_properties_set_int( properties, "ttl", 25 ); mlt_properties_set_int( properties, "aspect_ratio", 1 ); mlt_properties_set_int( properties, "progressive", 1 ); + mlt_properties_set_int( properties, "seekable", 1 ); // Validate the resource if ( filename ) diff --git a/src/modules/qimage/producer_qimage.c b/src/modules/qimage/producer_qimage.c index 02abbed2..93e2b5f0 100644 --- a/src/modules/qimage/producer_qimage.c +++ b/src/modules/qimage/producer_qimage.c @@ -60,6 +60,7 @@ mlt_producer producer_qimage_init( mlt_profile profile, mlt_service_type type, c mlt_properties_set_int( properties, "ttl", 25 ); mlt_properties_set_int( properties, "aspect_ratio", 1 ); mlt_properties_set_int( properties, "progressive", 1 ); + mlt_properties_set_int( properties, "seekable", 1 ); // Validate the resource if ( filename )