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

Stefano Sabatini stefano.sabatini-lala
Mon Jun 21 22:40:44 CEST 2010


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.

Regards.
-- 
FFmpeg = Fiendish Foolish Magnificient Portable Entertaining Gigant



More information about the ffmpeg-devel mailing list