[FFmpeg-devel] [misc-parse-date PATCH 4/5] Deprecate parse_date() in favor of av_parse_time().

Michael Niedermayer michaelni
Wed Jun 23 01:01:34 CEST 2010


On Tue, Jun 22, 2010 at 11:48:54PM +0100, M?ns Rullg?rd wrote:
> Michael Niedermayer <michaelni at gmx.at> writes:
> 
> > On Wed, Jun 23, 2010 at 12:24:00AM +0200, Stefano Sabatini wrote:
> >> On date Tuesday 2010-06-22 20:28:56 +0200, Michael Niedermayer encoded:
> >> > On Sun, Jun 20, 2010 at 06:51:08PM +0200, Stefano Sabatini wrote:
> >> > > The new function is av_ prefixed and has a slightly more
> >> > > convenient/expressive interface.
> >> > 
> >> 
> >> > why is the timevalue (positive) or error (negative) nit returned normally?
> >> 
> >> AVERROR_INVALIDDATA: Cannot parse expression.
> >> 
> >
> >> > or other question, in which case do we need to return negative
> >> > times/durations?
> >> 
> >> Negative durations don't make sense, but we can have perfectly valid
> >> negative times, for dates which pre-date the UNIX epoch.
> >
> > let me guess, movie of the dinosours?
> 
> Many of the best films were made before 1970.

soo true, budget and special effects go up everything else goes down


> 
> > anyway, what about fixing the origin to predate the big bang, that should
> > avoid the need for negative times
> 
> Integer overflow.

so lets start at year 0
or am i opening a box of nasty things here with calenders?
how many seconds where there between year 0 and 1970 ...

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100623/3e21ee9a/attachment.pgp>



More information about the ffmpeg-devel mailing list