OSDN Git Service

lavf: count skipped samples for initial timestamps.
authorNicolas George <nicolas.george@normalesup.org>
Sun, 15 Jul 2012 15:38:28 +0000 (17:38 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Thu, 19 Jul 2012 21:41:03 +0000 (23:41 +0200)
commit885fc058655efee94203314984ce99b301fdebb1
treede941d14c05ae4bcf54d3284afaa60088d3072dd
parentcd089003936030c506fb7a28e9a26e028b1aece0
lavf: count skipped samples for initial timestamps.

If skip_samples is set and timestamps are synthesized using durations,
make them start at -skip_samples (rescaled) instead of 0,
so that the timestamp of the first undiscarded sample is 0.
libavformat/utils.c