diff options
author | Philip Langdale <philipl@overt.org> | 2012-08-11 20:27:51 -0700 |
---|---|---|
committer | Philip Langdale <philipl@overt.org> | 2012-08-15 20:44:23 -0700 |
commit | 6af680fa070ebc5081045e4b24ceaa4fccfa89b4 (patch) | |
tree | 89bae7c77e4b1a0070e2521009bd5c4bfe017920 /libavcodec/avcodec.h | |
parent | b1b84b068d20d29aa9e1c0cc3a989e293138997c (diff) | |
download | ffmpeg-6af680fa070ebc5081045e4b24ceaa4fccfa89b4.tar.gz |
srtdec: Add timing-less "subrip" decoder.
After various discussions, we concluded that, amongst other things,
it made sense to have a separate subrip decoder that did not use
in-band timing information, and rather relied on the ffmpeg level
timing.
As this is 90% the same as the existing srt decoder, it's implemented
in the same file.
Signed-off-by: Philip Langdale <philipl@overt.org>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 07a9e10516..372d0cfe4e 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -441,6 +441,7 @@ enum AVCodecID { AV_CODEC_ID_SAMI = MKBETAG('S','A','M','I'), AV_CODEC_ID_REALTEXT = MKBETAG('R','T','X','T'), AV_CODEC_ID_SUBVIEWER = MKBETAG('S','u','b','V'), + AV_CODEC_ID_SUBRIP = MKBETAG('S','R','i','p'), /* other specific kind of codecs (generally used for attachments) */ AV_CODEC_ID_FIRST_UNKNOWN = 0x18000, ///< A dummy ID pointing at the start of various fake codecs. |