Remove unused ref frames on GOP case even when number of ref frames is within limits
Remove unused ref frames on GOP case even when number of ref frames is within limits

lu-zero/kvazaar,ultravideo/kvazaar,ultravideo/kvazaar,ultravideo/kvazaar,lu-zero/kvazaar,lu-zero/kvazaar,ultravideo/kvazaar,ultravideo/kvazaar,lu-zero/kvazaar