author | Edward Hervey <bilboed@bilboed.com> | |
Sun, 30 Jan 2011 15:17:19 +0000 (16:17 +0100) | ||
committer | Edward Hervey <bilboed@bilboed.com> | |
Sun, 30 Jan 2011 15:17:19 +0000 (16:17 +0100) | ||
commit | 67f754a9ea60052a023dfb2a3cc919bda80dbea8 | |
tree | 8d463161259957340518652eb1720f493f953bb9 | tree | snapshot (tar.xz tar.gz zip) |
parent | 10ec322c649440b7ed4d0670579975496eab1ab3 | commit | diff |
asfpacket: Avoid using broken duration extension
Quite a few (broken?) files have a packet duration of 1ms, which is
most definitely wrong for either audio or video packets.
We therefore avoid using that value and instead use other metrics to
determine the buffer duration (like using the extended stream properties
average frame duration if present and valid).
Quite a few (broken?) files have a packet duration of 1ms, which is
most definitely wrong for either audio or video packets.
We therefore avoid using that value and instead use other metrics to
determine the buffer duration (like using the extended stream properties
average frame duration if present and valid).
gst/asfdemux/asfpacket.c | diff | blob | history |