• Janne Grunau's avatar
    movdec: fix dts generation in fragmented files · 7f19bdc2
    Janne Grunau authored
    Do not use AVStream's duration for dts generation since it contains in
    some cases the duration of the whole file instead of duration of the
    samples in the moov. This happens if the mdhd holds the duration of the
    whole file but has no entries or a zero duration in its stts.
    7f19bdc2
isom.h 4.97 KB