Opened 9 months ago
Last modified 9 months ago
#10992 new enhancement
Option for forcing the inclusion of the hour field in WebVTT timestamps
Reported by: | ejm | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | Keywords: | webvtt | |
Cc: | ejm | Blocked By: | |
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description (last modified by )
While the WebVTT spec denotes that the hour field is optional on timestamps whose duration is less than one hour, it would be helpful to be able to forcibly include the field, even if the value is 00
, with an option.
Currently, this field is set in webvtt_write_time by checking if hour > 0
.
The usecase here is with a third-party tool that expects the hour field regardless of its content, despite the spec, so I understand if that is too niche to justify inclusion.
Thank you!
Note:
See TracTickets
for help on using tickets.