On Fri, 30 Oct 2015, Nicolas George wrote:
Le quartidi 4 brumaire, an CCXXIV, Marton Balint a écrit :
Hmm. I need this computed here for the next patch. Maybe we could calcualate
the duration here and then update it in open_next_file as well?
That is probably possible somehow but a bit tricky. Can you explain why you
need the duration at this point?
Because I add it to the metadata store here in the next patch, which
metadata will be set for every file packet, so calculating it at the end
of file is not an option.
I will rework the patch series and drop this change, so only the metadata
will be affected by the unknown duration, and not the file->duration which
is used to calculate the packet timestamps.
Regards,
Marton
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel