I am finally back working on my video player and I am still having problems with my overlay. I am rendering the video using DirectShow so I can enable frame skipping. What I am trying to do is click on a spot on the video, and display a red dot to show where I clicked. I thought I would create a QPixmap with a fill color of Qt::transparent so I could display this over the video. I then thought I could add the red dot to the overlay using DrawPoint with a QPainter created saying QPainter* paintOverlay = new QPainter(mpOverlay), but this did not work. The only way I can get the red point to display is on the frame itself and not the overlay or video that I display inside the frame. And everytime the update occurs, it puts the video on the screen for a split second and then shows the empty frame with its red dot. Is there anyway to add this red dot to the overlay and then display this almost transparent overlay on top of the video window? Thanks for your help!
Bookmarks