[FFmpeg-devel] [misc-parse-date PATCH 2/5] Mention how "now" is interpreted in the parse_date() doxy.

Michael Niedermayer michaelni
Tue Jun 22 05:06:13 CEST 2010


On Mon, Jun 21, 2010 at 10:40:44PM +0200, Stefano Sabatini wrote:
> On date Sunday 2010-06-20 18:50:27 +0200, Stefano Sabatini encoded:
> > ---
> >  libavformat/avformat.h |    3 ++-
> >  1 files changed, 2 insertions(+), 1 deletions(-)
> > 
> > diff --git a/libavformat/avformat.h b/libavformat/avformat.h
> > index 1d8db5d..49a9a18 100644
> > --- a/libavformat/avformat.h
> > +++ b/libavformat/avformat.h
> > @@ -1279,8 +1279,9 @@ attribute_deprecated int parse_frame_rate(int *frame_rate, int *frame_rate_base,
> >   * @param datestr String representing a date or a duration.
> >   * - If a date the syntax is:
> >   * @code
> > - *  [{YYYY-MM-DD|YYYYMMDD}[T|t| ]]{{HH[:MM[:SS[.m...]]]}|{HH[MM[SS[.m...]]]}}[Z|z]
> > + *  now|{[{YYYY-MM-DD|YYYYMMDD}[T|t| ]]{{HH[:MM[:SS[.m...]]]}|{HH[MM[SS[.m...]]]}}[Z|z]}
> >   * @endcode
> > + * If the value is "now" it takes the current time.
> >   * Time is local time unless Z is appended, in which case it is
> >   * interpreted as UTC.
> >   * If the year-month-day part is not specified it takes the current
> 
> 3day-application-threat.

if the change is correct you can apply it immedeatly,
note, i didt check code against docs

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- 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/20100622/f6408e16/attachment.pgp>



More information about the ffmpeg-devel mailing list