Re: [Mlt-devel] unbounded out
Brought to you by:
ddennedy,
lilo_booter
From: Dan D. <da...@de...> - 2009-09-24 00:00:58
|
On Wed, Sep 23, 2009 at 3:52 PM, Carl Karsten <ca...@pe...> wrote: > What is the preferred way of representing "to the end" if I don't know > the frame number? > > I was hoping that leaving it off would work, but that uses the "in" as > the end, right? > <entry id="clip" producer="producer2" in="500" /> Yes, because 'out' is effectively 0 (mlt_properties_get_int("notset") returns 0), which is the first frame. Then, it thinks you accidentally swapped in/out. I should probably add some handling for in or out being unset or set to -1. > I could do some crazy hight value: > <entry id="clip" producer="producer2" in="500" out="99999999" /> > > Is that safe, or should I try to calculate the number of frames? That is safe and what to use for now. -- +-DRD-+ |