QSV: make some logginc codec-agnostic