[FFmpeg-devel] [PATCH] Use private option to specify WebVTT kind

Clément Bœsch ubitux at gmail.com
Sat Jun 22 22:52:48 CEST 2013


On Fri, Jun 21, 2013 at 04:11:02PM -0700, Matthew Heaney wrote:
> WebVTT subtitle tracks have four kinds. Certain downstream muxers
> (such as for WebM) need to know which WebVTT kind this is, in order to
> specify the codec id of the output track.
> 
> A new private input option, "-kind", has been added to the WebVTT
> demuxer.  It accepts as a value any of "subtitles" (the default),
> "captions", "descriptions", and "metadata".  The kind option value is
> used to assign a value to the stream disposition flag, to which four
> new values have been added, corresponding the four WebVTT kinds.
> ---
>  doc/APIchanges          |  3 +++
>  libavformat/avformat.h  |  7 +++++++
>  libavformat/version.h   |  2 +-
>  libavformat/webvttdec.c | 34 ++++++++++++++++++++++++++++++++++
>  4 files changed, 45 insertions(+), 1 deletion(-)
> 

Patch LGTM.

Can you split the API and webvtt changes in two patches? I'll apply right
away. Thanks.

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130622/afedbbfb/attachment.asc>


More information about the ffmpeg-devel mailing list