Setting background color of Video-Window
Posted: 29 May 2012 09:38
Hello everyone.
First thanks for the great lib - following the tutorial how to display a video in a CWnd-object using libvlc worked out of the box.
I have one question atm (more will probably follow): I use
to set the CWnd where the video should be rendered to. This works perfect - even things like resizing the window makes libvlc scale the video
At the moment the space "around" the video is filled with black color. Is there an easy way to change this? Thanks for any help.
eli
First thanks for the great lib - following the tutorial how to display a video in a CWnd-object using libvlc worked out of the box.
I have one question atm (more will probably follow): I use
Code: Select all
libvlc_media_player_set_hwnd (mp, hwnd);
At the moment the space "around" the video is filled with black color. Is there an easy way to change this? Thanks for any help.
eli