Added gamma adjustment to DirectShow source.