Added platform abstraction layer for VideoCaptue.