Changeset 98a7d560 in ffmpeg
- Timestamp:
-
Mar 24, 2011, 11:34:18 PM
(14 years ago)
- Author:
- Luca Barbato <lu_zero@gentoo.org>
- Branches:
- master
- Children:
- 66f608a6, 797ef671
- Parents:
- 5666a9f2
- git-author:
- John Stebbins <stebbins@jetheaddev.com> (03/24/11 23:34:18)
- git-committer:
- Luca Barbato <lu_zero@gentoo.org> (03/24/11 23:34:18)
- Message:
-
matroskadec: set default duration for simple block
When a normal Block is parsed, duration is initialized to
AV_NOPTS_VALUE. If it is not changed, then the track's default
duration is used. But for SimpleBlock, duration is initialized to
0 instead of AV_NOPTS_VALUE. This is due to the difference in how
EBML_NEST vs EBML_PASS are processed. Setting duration to 0 leads
eventually to wrongly estimate the frame duration in util.c
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
-
(No files)
-