lavf/segment: only use reference frames for computing the segment end time
authorStefano Sabatini <stefasab@gmail.com>
Thu, 17 Jul 2014 12:49:20 +0000 (14:49 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Thu, 17 Jul 2014 14:51:50 +0000 (16:51 +0200)
commit5acad50056f653672a0e9b6b2986089c32046afb
tree930af9f73a3370e19eb183b13f6271411c0e0094
parent88f038ac97a875f25c2eceac6d2107a09314984c
lavf/segment: only use reference frames for computing the segment end time

This avoids a systematic overestimate of the segments duration when there
are several streams.

Fix trac ticket #3724.
libavformat/segment.c