added color channel to median filter libav example