[FFmpeg-devel] [PATCH 0/3] textdec: Subtitles: convert srtdec into textdec.

Philip Langdale philipl at overt.org
Wed Aug 1 18:14:28 CEST 2012


In previous discussions, we reached a conclusion that we should have
an explicit CODEC_ID_TEXT decoder and that srtdec was semantically
questionable. This patch set implements that change.

It's primary renaming, but does add the necessary functionality to
provide a CODEC_ID_TEXT decoder (by reading timing information from
the AVPacket).

TODO: Bump version, Changelog, docs.

Philip Langdale (3):
  textdec: Rename srtdec.c to textdec.c
  textdec: Rename all generic parts from srt to text.
  textdec: Add TEXT subtitle decoding mode.

 libavcodec/Makefile    |    2 +-
 libavcodec/allcodecs.c |    1 +
 libavcodec/srtdec.c    |  239 --------------------------------------------
 libavcodec/textdec.c   |  258 ++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 260 insertions(+), 240 deletions(-)
 delete mode 100644 libavcodec/srtdec.c
 create mode 100644 libavcodec/textdec.c

-- 
1.7.9.5



More information about the ffmpeg-devel mailing list