[FFmpeg-devel] [PATCH] lavf: JSON captions demuxer.

Clément Bœsch ubitux at gmail.com
Sun Dec 9 12:27:55 CET 2012


On Tue, Nov 27, 2012 at 07:58:30PM +0100, Nicolas George wrote:
> TODO version bump.
> 
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
>  Changelog                    |    1 +
>  doc/demuxers.texi            |   21 +++
>  doc/general.texi             |    1 +
>  libavformat/Makefile         |    1 +
>  libavformat/allformats.c     |    1 +
>  libavformat/tedcaptionsdec.c |  355 ++++++++++++++++++++++++++++++++++++++++++
>  tools/bookmarklets.html      |   55 +++++++
>  7 files changed, 435 insertions(+)
>  create mode 100644 libavformat/tedcaptionsdec.c
>  create mode 100644 tools/bookmarklets.html
> 
[...]
> +AVInputFormat ff_tedcaptions_demuxer = {
> +    .name           = "tedcaptions",
> +    .long_name      = NULL_IF_CONFIG_SMALL("TED Talks captions"),
> +    .priv_data_size = sizeof(TEDCaptionsDemuxer),
> +    .read_header    = tedcaptions_read_header,
> +    .read_packet    = tedcaptions_read_packet,
> +    .read_close     = tedcaptions_read_close,
> +    .read_probe     = tedcaptions_read_probe,
> +    .priv_class     = &tedcaptions_demuxer_class,
> +};

Please add the seek callback,

Rest still LGTM, 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/20121209/ea352531/attachment.asc>


More information about the ffmpeg-devel mailing list