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/allcodecs.c | |
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/allcodecs.c')
-rw-r--r-- | libavcodec/allcodecs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c index 6b42c30d66..f7ae4498b3 100644 --- a/libavcodec/allcodecs.c +++ b/libavcodec/allcodecs.c @@ -415,6 +415,7 @@ void avcodec_register_all(void) REGISTER_DECODER (REALTEXT, realtext); REGISTER_DECODER (SAMI, sami); REGISTER_ENCDEC (SRT, srt); + REGISTER_DECODER (SUBRIP, subrip); REGISTER_DECODER (SUBVIEWER, subviewer); REGISTER_ENCDEC (XSUB, xsub); |