On Sun, Nov 30, 2008 at 03:18:03AM +0300, Ruslan Savchenko wrote:
On Sat, Nov 29, 2008 at 12:47 AM, Michael Niedermayer <michaelni@gmx.at> wrote:
On Tue, Nov 25, 2008 at 11:26:49PM +0300, Ruslan Savchenko wrote:
On Tue, Nov 25, 2008 at 10:19 PM, Michael Niedermayer <michaelni@gmx.at> wrote:
On Sun, Nov 23, 2008 at 07:59:26PM +0300, Ruslan Savchenko wrote: Is the following code ok? ipts handles 2^32 msecs which is more than 490 days video length.
long int ipts; uint32_t hour, min, sec, msec; ipts = lrint(pts * 100); hour = (uint32_t) (ipts/360000); min = (uint32_t) (ipts/6000) % 60; sec = (uint32_t) (ipts/100) % 60; msec = (uint32_t) (ipts) % 100;
i would use a int64_t in there except that it does look ok
Updated patches attached. Since Uoti objected the usage of the global filename, only "shot" and user-specified basename are left. I will highly appreciate if someone point me how passing the filename into vf should be implemented.
somehow by adding a field to mp_image_t, this might be a pointer to some other struct though or filename directly or even better by helping us finish libavfilter :) [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I know you won't believe me, but the highest form of Human Excellence is to question oneself and others. -- Socrates