Re: [FFmpeg-devel] [PATCH] avformat/flvenc: do not write duration and filesize when cannot seekable

2016-10-20 Thread Michael Niedermayer
On Thu, Oct 13, 2016 at 09:16:55AM +0800, Steven Liu wrote: > 2016-10-13 4:08 GMT+08:00 Michael Niedermayer : > > > On Wed, Oct 12, 2016 at 06:11:41PM +0800, Steven Liu wrote: > > > when living stream cannot seekable, don't write duration and > > > filesize in metadata,

Re: [FFmpeg-devel] [PATCH] avformat/flvenc: do not write duration and filesize when cannot seekable

2016-10-12 Thread Michael Niedermayer
On Wed, Oct 12, 2016 at 06:11:41PM +0800, Steven Liu wrote: > when living stream cannot seekable, don't write duration and > filesize in metadata, and donnot seek at the flv_write_trailer > > Signed-off-by: Steven Liu > --- > libavformat/flvenc.c | 49