title: Modifying a video frame and send it back to the Video Output Stream
body: <p>I'm currently trying to solve a problem in C++ using QT.
  I am trying to grab a video Frame from a video running in the output stream of a QMediaPlayer and add grayscale to that frame and then send it back to the video Output stream of the mediaplayer.</p>
  
  <p>Grab video Frame ----> Add Gray Scale to frame ---->Send back to output stream</p>
  
  <p>For now I am able to grab the videoFrame using QVideoFrame in QT and modify it. However i am not sure on how to send it back to the media player output stream. I am going through the QT source code but so far no luck.</p>
  
  <p>The same problem can be solved usinng QML however I don't want to go ahead with using QML and instead solve this using C++.</p>
  
  <p>I hope some one here has an Idea on how to do it. 
  Thank you</p>