1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-22 14:52:43 +00:00

af_lavcac3enc: lower minimum channel number to 3

It seems only stereo PCM should be passed through.
This commit is contained in:
wm4 2014-08-12 23:45:41 +02:00
parent 060ba226e6
commit defa0a20e0
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ Available filters are:
``minchn=<n>``
If the input channel number is less than ``<minchn>``, the filter will
detach itself (default: 5).
detach itself (default: 3).
``sweep[=speed]``
Produces a sine sweep.

View File

@ -313,7 +313,7 @@ const struct af_info af_info_lavcac3enc = {
.priv_defaults = &(const struct af_ac3enc_s){
.cfg_add_iec61937_header = 1,
.cfg_bit_rate = 640,
.cfg_min_channel_num = 5,
.cfg_min_channel_num = 3,
},
.options = (const struct m_option[]) {
OPT_FLAG("tospdif", cfg_add_iec61937_header, 0),