diff options
author | John Stebbins <stebbins@jetheaddev.com> | 2011-07-04 09:55:19 -0700 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-07-04 10:18:14 -0700 |
commit | 49c7006c7e815d4330247624a9e6ba30e288cd02 (patch) | |
tree | 2f09514927bac94ac82e99b85db5b4e673f96e39 /libavcodec/mlp_parser.c | |
parent | 3c7c16fde3c2b758bb3c9f038c9a7d3461664f98 (diff) | |
download | ffmpeg-49c7006c7e815d4330247624a9e6ba30e288cd02.tar.gz |
dca: set AVCodecContext frame_size for DTS audio
Set the frame size when decoding DTS audio.
This has the side effect of fixing the computation of timestamps for DTS-HD in compute_pkt_fields. Since frame_size is
not currently set, the duration of a frame is being guessed based on the streams bitrate. But for DTS-HD, the bitrate
currently used is the rate of the DTS core which is much different than the whole DTS-HD stream and leads to a wildly
inaccurate frame duration estimate.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/mlp_parser.c')
0 files changed, 0 insertions, 0 deletions