On Wed, Sep 19, 2012 at 1:41 PM, j-b-m <[email protected]> wrote: > On Sunday 02 September 2012 18:09:46 Dan Dennedy wrote: >> On Sun, Sep 2, 2012 at 12:51 PM, j-b-m <[email protected]> wrote: >> > Hello Dan, >> > >> > You made a change to the xml producer that causes problems in Kdenlive ( >> > for example http://kdenlive.org/mantis/view.php?id=2711 ). >> > >> > The commit is the following one: >> > https://github.com/mltframework/mlt/commit/89ff4d149a0ac54deab4057178678b6 >> > 8bef1e92d >> Do you understand the reason for the change? If you have an xml file >> that contained simply a producer element under the root, then it would >> overwrite the producer's resource property with the filename of the >> xml file, which causes problems for the producer or for >> re-serialization! > > I worked around the problem in Kdenlive by using an internally stored url to > get the resource of an xml producer. > > However, I think this issue is also having other side effects when trying to > include an xml producer in a playlist. > > For example: > > melt color:red in=0 out=50 -consumer xml:1.mlt > > Works fine, will create an xml file with a red clip that can be played through > melt: melt 1.mlt > > Now, trying to use that xml file inside a playlist breaks: > > melt 1.mlt -consumer xml:2.mlt > > The resulting 2.mlt xml file is corrupted and cannot be played, because the > producer is: > > <producer id="tractor0" title="color:red" in="0" out="50"> > <property name="mlt_type">producer</property> > <property name="length">51</property> > <property name="eof">pause</property> > <property name="resource"><tractor></property> > <property name="mlt_service">xml</property> > <property name="global_feed">1</property> > <property name="xml">was here</property> > <property name="seekable">0</property> > </producer> > > When resource should be "1.mlt", it is now "<tractor>".
Ugh, OK, thank you. I will add a check that says when the mlt_service is "xml" to allow the resource property to be set. -- +-DRD-+ ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Mlt-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mlt-devel
