af_hdcd: only hdcd_update_info() when something changes
authorBurt P <pburt0@gmail.com>
Tue, 12 Jul 2016 17:54:08 +0000 (12:54 -0500)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 14 Jul 2016 20:09:00 +0000 (22:09 +0200)
commit5c7457c028561acca894b8298745b328c2e0c381
treeac73afaa1aa06a9d97d106d6aa9a9f97e867533a
parent33fc4cc7c6bd68ad899398678af478400c87cebf
af_hdcd: only hdcd_update_info() when something changes

Only call hdcd_update_info() when the control code changes
instead of every frame, so the counters are more meaningful.

Signed-off-by: Burt P <pburt0@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavfilter/af_hdcd.c