Doc: update video processing tutorial code for OpenCV v2.4.9 and v3a
Merge pull request #3158 from arielelkin:master