1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 17:42:17 +00:00

Apply -srate and -channels only to the start of the filter chain, not

to both start and end (made downmixing to 2 channels impossible).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15242 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2005-04-22 18:28:10 +00:00
parent 7b937b3717
commit 4d48a0a981

View File

@ -2143,9 +2143,9 @@ if(sh_audio){
current_module="ao2_init"; current_module="ao2_init";
if(!(audio_out=init_best_audio_out(audio_driver_list, if(!(audio_out=init_best_audio_out(audio_driver_list,
0, // plugin flag 0, // plugin flag
force_srate?force_srate:ao_data.samplerate, ao_data.samplerate,
audio_output_channels?audio_output_channels:ao_data.channels, ao_data.channels,
audio_output_format?audio_output_format:ao_data.format,0))){ ao_data.format,0))){
// FAILED: // FAILED:
mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_CannotInitAO); mp_msg(MSGT_CPLAYER,MSGL_ERR,MSGTR_CannotInitAO);
uninit_player(INITED_ACODEC); // close codec uninit_player(INITED_ACODEC); // close codec