We deal with a numerical solution of nonlinear convection-diffusion equations with the aid of the discontinuous Galerkin method. We propose a new hp-adaptation technique, which is based on a combination of a residuum estimator and a regularity indicator.