diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-11-11 00:06:58 +0100 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-11-20 22:38:39 +0100 |
commit | cc88734c3c2e93bc82bfdc90fc45a020fa499a9c (patch) | |
tree | 894aeb21f0d7e9735d234264853ebcb126be0edb /ffmpeg.c | |
parent | d513fb1c753292fc9f43b9e6fbd6997af85d19c6 (diff) | |
download | ffmpeg-cc88734c3c2e93bc82bfdc90fc45a020fa499a9c.tar.gz |
lavf/srtdec: trim line break event separators from packet.
The muxer add them automatically, so this avoid having a bunch of line
breaks all over the output files. One '\n' is still kept/added because
the lavc subrip decoder seems to have trouble with line ending abruptly
(it doesn't flush correctly the tags). This bug is harmless but should
be fixed; though, this doesn't look like a trivial change. When this bug
gets fixed, we can consider removing the '\n' at the end of the packet.
The 2048B buffer limit was also removed while moving to AVBPrint API.
Note that this doesn't really matter since the decoder is limited as
well.
Diffstat (limited to 'ffmpeg.c')
0 files changed, 0 insertions, 0 deletions