-http://*=avformat
+http://*=avformat,webvfx:plain:
+https://*=webvfx:plain:
+plain:http://*=webvfx:plain:
+plain:https://*=webvfx:plain:
<?xml*=xml-string
*.mlt=xml
*.westley=xml
*.exr=qimage
*.gif=pixbuf,qimage
*.graphics=xml
+*.htm=webvfx:plain:
+*.html=webvfx:plain:
*.jfx=xml
*.jef=xml
*.jpg=pixbuf,qimage
*.jpeg=pixbuf,qimage
+*.kdenlivetitle=kdenlivetitle
*.kino=xml
*.mp3=avformat
*.mov=mcdv,avformat,libdv
*.pgm=pgm,pixbuf,qimage
*.png=pixbuf,qimage
*.psd=qimage
+*.qml=webvfx:plain:
*.story=xml
*.svg=pixbuf,qimage
*.swf=avformat,swfdec
*.wmv=avformat
*.xcf=qimage
*.xml=xml
-*.kdenlivetitle=kdenlivetitle
*=avformat
char *p = strchr( service, ',' );
if ( p != NULL )
*p ++ = '\0';
- producer = mlt_factory_producer( profile, service, file );
+
+ // If the service name has a colon as field delimiter, then treat the
+ // second field as a prefix for the file/url.
+ char *prefix = strchr( service, ':' );
+ if ( prefix )
+ {
+ *prefix ++ = '\0';
+ char* prefix_file = calloc( 1, strlen( file ) + strlen( prefix ) + 1 );
+ strcpy( prefix_file, prefix );
+ strcat( prefix_file, file );
+ producer = mlt_factory_producer( profile, service, prefix_file );
+ free( prefix_file );
+ }
+ else
+ {
+ producer = mlt_factory_producer( profile, service, file );
+ }
service = p;
}
while ( producer == NULL && service != NULL );