In src/modules/xml/mlt-xml.dtd, playlists are described as having at least 1 
item in them (because of the '+' at the end):

    <!ELEMENT playlist (property*,(entry | blank | producer | playlist | 
tractor | multitrack)+) >

However, by default kdenlive generates empty tracks, creating technically 
non-standard XML, e.g.:

    <playlist id="playlist1">
     <property name="kdenlive:audio_track">1</property>
     <property name="kdenlive:track_name">Audio 2</property>
    </playlist>
    <playlist id="playlist2">
     <property name="kdenlive:audio_track">1</property>
     <property name="kdenlive:track_name">Audio 1</property>
    </playlist>
    <playlist id="playlist3">
     <property name="kdenlive:track_name">Video 1</property>
    </playlist>

Any objections to changing the '+' to a '*' on this line of the DTD, thus 
supporting empty playlists?

Thanks!
Tom



_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to