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

Stefano Sabatini stefano.sabatini-lala
Sun Jun 20 18:50:27 CEST 2010


---
 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
-- 
1.7.1




More information about the ffmpeg-devel mailing list