[FFmpeg-devel] [PATCH] lavf: add a real SRT muxer.
nicolas.george at normalesup.org
Thu Jun 21 19:33:27 CEST 2012
Le quartidi 4 messidor, an CCXX, Clément Bœsch a écrit :
> The point was just to avoid the write_ts assignment each time, like if it
> was suggesting it could change between srt_write_packet() calls (or can
It is suggesting nothing of the sort, it is just reducing code duplication.
Nobody would have said anything if I had included the same test in both.
> If it detects the "<num>\n... --> ..." form in the packet, it could assume
> one mode or another. That might sound hacky though :)
And also fragile. And even bogus: a subtitle text is allowed to look exactly
like a SRT timestamp.
If you or others have no objections, I shall push the patch as is soon.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel