chromecast: replace the p_input hack by an other one