On 07/03/15 00:10, Martin Storsjö wrote: > Even if this is a guess, it is way better than writing a zero duration > of the last sample in a fragment (because if the duration is zero, > the first sample of the next fragment will have the same timestamp > as the last sample in the previous one). > > Since we normally don't require libavformat muxer users to set > the duration field in AVPacket, we probably can't strictly require > it here either, so don't log this as a strict warning, only as info. > --- > libavformat/movenc.c | 42 ++++++++++++++++++++++++++++++++++++++++++ > libavformat/movenc.h | 1 + > 2 files changed, 43 insertions(+)
I do not see better alternatives, patch ok. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
