Mercurial > mplayer.hg
diff libmpcodecs/ad_ffmpeg.c @ 24108:51cd49ee92d6
Use new request_channels
| author | reimar |
|---|---|
| date | Thu, 23 Aug 2007 20:29:57 +0000 |
| parents | ef6e50c3c172 |
| children | 352d7d9422b5 |
line wrap: on
line diff
--- a/libmpcodecs/ad_ffmpeg.c Thu Aug 23 17:45:54 2007 +0000 +++ b/libmpcodecs/ad_ffmpeg.c Thu Aug 23 20:29:57 2007 +0000 @@ -66,6 +66,7 @@ lavc_context->block_align = sh_audio->wf->nBlockAlign; lavc_context->bits_per_sample = sh_audio->wf->wBitsPerSample; } + lavc_context->request_channels = audio_output_channels; lavc_context->codec_tag = sh_audio->format; //FOURCC lavc_context->codec_id = lavc_codec->id; // not sure if required, imho not --A'rpi
