[FFmpeg-devel] [PATCH] lavf: add a real SRT muxer.
ubitux at gmail.com
Thu Jun 21 18:56:47 CEST 2012
On Wed, Jun 20, 2012 at 09:49:50PM +0200, Nicolas George wrote:
> Le decadi 30 prairial, an CCXX, Clément Bœsch a écrit :
> > Can't this be moved to the SRTContext?
> Possibly, but while it is simple enough I do not want to bloat the context
> with an additional flag.
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
> > This could be in the write ts scope.
> Indeed, but I like the idea of having the index up to date even if it is not
> > The rest LGTM. Another approach would be to try to detect the mode
> > according to the received packet.
> What do you mean exactly?
If it detects the "<num>\n... --> ..." form in the packet, it could assume
one mode or another. That might sound hacky though :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: not available
More information about the ffmpeg-devel