From b19b09df5499b1c1b03968c0c372659b8e4dc9f6 Mon Sep 17 00:00:00 2001 From: reimar Date: Sun, 30 May 2010 16:46:31 +0000 Subject: Use the -a52drc option also for the libavcodec decoder. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31286 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/ad_ffmpeg.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libmpcodecs/ad_ffmpeg.c') diff --git a/libmpcodecs/ad_ffmpeg.c b/libmpcodecs/ad_ffmpeg.c index 9d1b8356ad..8dc7ab3ed0 100644 --- a/libmpcodecs/ad_ffmpeg.c +++ b/libmpcodecs/ad_ffmpeg.c @@ -75,6 +75,7 @@ static int init(sh_audio_t *sh_audio) lavc_context = avcodec_alloc_context(); sh_audio->context=lavc_context; + lavc_context->drc_scale = drc_level; lavc_context->sample_rate = sh_audio->samplerate; lavc_context->bit_rate = sh_audio->i_bps * 8; if(sh_audio->wf){ -- cgit v1.2.3