mirror of
https://github.com/mpv-player/mpv
synced 2025-03-25 04:38:01 +00:00
Use new request_channels
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24128 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cb9b67ff7f
commit
b7ce6217d6
@ -66,6 +66,7 @@ static int init(sh_audio_t *sh_audio)
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user