From 76d480815a9c6773e0fa5bcffaded04646279b8a Mon Sep 17 00:00:00 2001 From: jstebbins Date: Mon, 1 Aug 2011 18:06:22 +0000 Subject: add more audio passthru options adds aac and mp3 passthru for mp4 and mkv containers adds dts and dtshd for mp4 container (mkv already had it) Note: The only player known (to me) to support dts(hd) in mp4 is ff/avplay In LinGui there is a new option to limit which passthru codecs will be used by the "Auto Passthru" audio codec options. The CLI already has this ability with "--audio_copy-mask" which is use in conjunction with the "copy" audio codec option. Also corrects some A/V sync issues when video frames are dropped due to a gap detected in the audio. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4149 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- contrib/ffmpeg/A04-dca-frame-size.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 contrib/ffmpeg/A04-dca-frame-size.patch (limited to 'contrib') diff --git a/contrib/ffmpeg/A04-dca-frame-size.patch b/contrib/ffmpeg/A04-dca-frame-size.patch new file mode 100644 index 000000000..5af1040b2 --- /dev/null +++ b/contrib/ffmpeg/A04-dca-frame-size.patch @@ -0,0 +1,12 @@ +diff --git a/libavcodec/dca.c b/libavcodec/dca.c +index 68731c9..cf62c48 100644 +--- a/libavcodec/dca.c ++++ b/libavcodec/dca.c +@@ -1650,6 +1650,7 @@ static int dca_decode_frame(AVCodecContext * avctx, + //set AVCodec values with parsed data + avctx->sample_rate = s->sample_rate; + avctx->bit_rate = s->bit_rate; ++ avctx->frame_size = s->sample_blocks * 32; + + s->profile = FF_PROFILE_DTS; + -- cgit v1.2.3