summaryrefslogtreecommitdiffstats
path: root/libavcodec/allcodecs.c
diff options
context:
space:
mode:
authorAnshul Maheshwari <anshul.ffmpeg@gmail.com>2015-01-06 12:23:34 +0530
committerMichael Niedermayer <michaelni@gmx.at>2015-01-11 22:19:48 +0100
commit4b6262610bd516320b3fca71ef03ff9bf1aa5066 (patch)
tree2534b50f3ca8798e55335a609c1b0d9aef6fc932 /libavcodec/allcodecs.c
parentf463df18bc867d681d1ac6bf3dc6282ec471485c (diff)
downloadffmpeg-streaming-4b6262610bd516320b3fca71ef03ff9bf1aa5066.zip
ffmpeg-streaming-4b6262610bd516320b3fca71ef03ff9bf1aa5066.tar.gz
Adding Closed caption Support
Signed-off-by: Anshul Maheshwari <anshul.ffmpeg@gmail.com> To test Closed caption use following command ffmpeg -f lavfi -i "movie=input.ts[out0+subcc]" -map s output.srt Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/allcodecs.c')
-rw-r--r--libavcodec/allcodecs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/allcodecs.c b/libavcodec/allcodecs.c
index 512711e..29b45f3 100644
--- a/libavcodec/allcodecs.c
+++ b/libavcodec/allcodecs.c
@@ -481,6 +481,7 @@ void avcodec_register_all(void)
/* subtitles */
REGISTER_ENCDEC (SSA, ssa);
REGISTER_ENCDEC (ASS, ass);
+ REGISTER_DECODER(CCAPTION, ccaption);
REGISTER_ENCDEC (DVBSUB, dvbsub);
REGISTER_ENCDEC (DVDSUB, dvdsub);
REGISTER_DECODER(JACOSUB, jacosub);
OpenPOWER on IntegriCloud