MLT_REGISTER( consumer_type, "xml", consumer_xml_init );
MLT_REGISTER( producer_type, "xml", producer_xml_init );
MLT_REGISTER( producer_type, "xml-string", producer_xml_init );
+ MLT_REGISTER( producer_type, "xml-nogl", producer_xml_init );
MLT_REGISTER_METADATA( consumer_type, "xml", metadata, "consumer_xml.yml" );
MLT_REGISTER_METADATA( producer_type, "xml", metadata, "producer_xml.yml" );
MLT_REGISTER_METADATA( producer_type, "xml-string", metadata, "producer_xml-string.yml" );
+ MLT_REGISTER_METADATA( producer_type, "xml-nogl", metadata, "producer_xml-nogl.yml" );
}
--- /dev/null
+schema_version: 0.1
+type: producer
+identifier: xml-nogl
+title: XML without OpenGL
+version: 1
+copyright: Ushodaya Enterprises Limited
+creator: Dan Dennedy
+license: LGPLv2.1
+language: en
+tags:
+ - Audio
+ - Video
+description: >
+ This is the same as the regular "xml" producer except it prevents
+ automatically creating the qglsl consumer when it detects the usage of
+ OpenGL-based services within the XML.
+ See ProducerXml for more information.
tags:
- Audio
- Video
+description: >
+ This is the same as the regular "xml" producer except it takes a pointer to
+ a string as the constructor argument. That means it can only be used
+ by applications and not directly exposed to users of those applications.
+ See ProducerXml for more information.
// may exist when trying to load glsl. or movit. services.
// The "if requested" part can come from query string qglsl=1 or when
// a service beginning with glsl. or movit. appears in the XML.
- if ( mlt_properties_get_int( context->params, "qglsl" ) )
+ if ( mlt_properties_get_int( context->params, "qglsl" ) && strcmp( id, "xml-nogl" ) )
context->qglsl = mlt_factory_consumer( profile, "qglsl", NULL );
// Setup SAX callbacks for second pass