Revert "Fix the bug in the mpeg-2 quality setting"

This reverts commit f414a5d5b53b1a0c84af691fba70b27fd83ae608.
Fix the bug in the mpeg-2 quality setting - second try