hi,

I'm implementing a virtual environment using QGLWidget. In this environment I have a TV model and would like to add a video to the surface that corresponds to the TV screen. I get this video (live) streamed through the VCL API as shown below

Qt Code:
  1. videoWidget = new QFrame (this);
  2. videoWidget-> setFixedSize (280, 200);
  3.  
  4. vlcinstance libvlc_new = (sizeof (vlc_args) / sizeof (vlc_args [0]), vlc_args);
  5. mp = libvlc_media_player_new (vlcinstance);
  6.  
  7. WindowsStyle QPlastiqueStyle = new;
  8. groupbox = new QGroupBox (tr ("Live Video"));
  9. groupbox-> setStyle (WindowsStyle);
  10.  
  11. layout = new QGridLayout;
  12. layout-> addWidget (this);
  13.  
  14. groupbox-> setLayout (layout);
  15.  
  16. playFile ("mmsh://localhost:7009");
To copy to clipboard, switch view to plain text mode 

playFile() method starts the video from inside the QFrame.

My question is: there any way to display this video on the TV's surface and consequently he suffers the effects of rotation and translation of the environment? If there's, someone can tell me?

Thanks
Igor