On Tue, May 3, 2011 at 8:57 PM, Jonathan Thomas
<[email protected]> wrote:
> Here is a snippet of XML which contains the producer definitions.  I am not
> sure if this reuses the producers or creates new ones.
> <playlist id="Track 1">
>   <producer id="475a19e6-7601-11e0-b176-001fd00ee3aa" in="0.0" novdpau="1"
> out="432.0">
>      <property name="resource">sintel-1280-stereo.mp4</property>
>    </producer>
>    <producer id="475a19e6-7601-11e0-b176-001fd00ee3aa" in="0.0" novdpau="1"
> out="512.0">
>      <property name="resource">sintel-1280-stereo.mp4</property>
>    </producer>
>    <producer id="475a19e6-7601-11e0-b176-001fd00ee3aa" in="0.0" novdpau="1"
> out="584.0">
>       <property name="resource">sintel-1280-stereo.mp4</property>
>    </producer>
> </playlist>
> Thanks!

They are not being reused because you have them nested in the
playlist. However, it is bad form to have more than one element with
the same ID. This holds true for any XML really where you want to have
id and idref. If you pulled the producers out of the playlist, put
<entry> elements in the playlist with an producer=id attribute, how
could it reference a unique one in your case? Again, in this case, it
works, but if you feel like being more correct, just change that
attribute name to something that indicates its relationship to an
OpenShot object.

-- 
+-DRD-+

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Mlt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mlt-devel

Reply via email to