Mercurial > mplayer.hg
comparison gui/cfg.c @ 34652:4e7cc799cf54
lavcac3enc: make the filter buildable with shared FFmpeg
Add some local definitions and a bitrate array to make FFmpeg private headers
and symbols unneeded, allowing lavcac3enc to be built with shared FFmpeg.
This also fixes the issue that the filter code expects the FFmpeg private
definition AC3_MAX_CHANNELS to be the maximum number of "logical" channels to
be encoded into AC-3, while it actually specifies the maximum channel count in
the bitstream, which may include a coupling channel which is not an actual full
audio channel. The issue is fixed by making the local AC3_MAX_CHANNELS have the
value 6, which the FFmpeg private header also had before the addition of
coupling support in 2011.
patch by Anssi Hannula, anssi.hannula iki fi
author | diego |
---|---|
date | Sun, 19 Feb 2012 15:21:23 +0000 |
parents | 97148652b0c6 |
children | 73a5ecb53ee2 |
comparison
equal
deleted
inserted
replaced
34651:e4de3e6665ae | 34652:4e7cc799cf54 |
---|