doc: fix syntax for durations and timestamps.

Omitting the seconds has not worked for a long time, if ever.
Omitting the minutes too is just nonsensical for a duration
(it is indistinguishable from just seconds).
This commit is contained in:
Nicolas George 2012-04-23 14:56:01 +02:00
parent bbd3dc49ff
commit e5474f5c48
2 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ streams are delayed by @var{offset} seconds.
Set the recording timestamp in the container. Set the recording timestamp in the container.
The syntax for @var{time} is: The syntax for @var{time} is:
@example @example
now|([(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...])|(HHMMSS[.m...]))[Z|z])
@end example @end example
If the value is "now" it takes the current time. If the value is "now" it takes the current time.
Time is local time unless 'Z' or 'z' is appended, in which case it is Time is local time unless 'Z' or 'z' is appended, in which case it is

View File

@ -3254,7 +3254,7 @@ number or a valid video frame rate abbreviation. The default value is
@item duration, d @item duration, d
Set the video duration of the sourced video. The accepted syntax is: Set the video duration of the sourced video. The accepted syntax is:
@example @example
[-]HH[:MM[:SS[.m...]]] [-]HH:MM:SS[.m...]
[-]S+[.m...] [-]S+[.m...]
@end example @end example
See also the function @code{av_parse_time()}. See also the function @code{av_parse_time()}.