[FFmpeg-devel] [PATCHv2] af_hdcd: Process stereo channels together, fix #5727

Michael Niedermayer michael at niedermayer.cc
Tue Aug 2 01:01:38 EEST 2016

On Mon, Aug 01, 2016 at 02:28:39PM -0500, Burt P wrote:
> Issue #5727: gain adjustment should only be applied if matching
> gain value from a valid packet in both channels. The existing functions process
> each channel separately, so it was not possible.
> * New versions of hdcd_process(), hdcd_scan(), hdcd_integrate() named
>   hdcd_*_stereo() that process both channels together.
> * target_gain applied will be the last matching target_gain.
> * The old single channel functions remain as an option. They can be
>   used by: -af hdcd=process_stereo=0.
> Signed-off-by: Burt P <pburt0 at gmail.com>
> ---
>  libavfilter/af_hdcd.c | 287 +++++++++++++++++++++++++++++++++++++++++++-------
>  1 file changed, 249 insertions(+), 38 deletions(-)



Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160802/fdc4508e/attachment.sig>

More information about the ffmpeg-devel mailing list