Revision 06318968853ff8c628bbc75fb126483c08f22fd9 authored by John Stebbins on 04 July 2011, 16:55:19 UTC, committed by Reinhard Tartler on 26 September 2011, 17:26:28 UTC
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>
(cherry picked from commit 49c7006c7e815d4330247624a9e6ba30e288cd02)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
1 parent 8ad1f08
History
File Mode Size
doc
ffpresets
libavcodec
libavdevice
libavfilter
libavformat
libavutil
libpostproc
libswscale
tests
tools
.gitignore -rw-r--r-- 657 bytes
COPYING.GPLv2 -rw-r--r-- 17.7 KB
COPYING.GPLv3 -rw-r--r-- 34.3 KB
COPYING.LGPLv2.1 -rw-r--r-- 25.9 KB
COPYING.LGPLv3 -rw-r--r-- 7.5 KB
CREDITS -rw-r--r-- 1.0 KB
Changelog -rw-r--r-- 23.2 KB
Doxyfile -rw-r--r-- 66.8 KB
INSTALL -rw-r--r-- 705 bytes
LICENSE -rw-r--r-- 1.9 KB
Makefile -rw-r--r-- 8.5 KB
README -rw-r--r-- 162 bytes
RELEASE -rw-r--r-- 6 bytes
cmdutils.c -rw-r--r-- 32.3 KB
cmdutils.h -rw-r--r-- 8.9 KB
cmdutils_common_opts.h -rw-r--r-- 963 bytes
common.mak -rw-r--r-- 2.5 KB
configure -rwxr-xr-x 101.9 KB
ffmpeg.c -rw-r--r-- 164.2 KB
ffplay.c -rw-r--r-- 96.8 KB
ffprobe.c -rw-r--r-- 14.7 KB
ffserver.c -rw-r--r-- 155.0 KB
ffserver.h -rw-r--r-- 998 bytes
subdir.mak -rw-r--r-- 3.0 KB
version.sh -rwxr-xr-x 678 bytes

README

back to top