I am trying to add a logo to a local movie played by libvlc 1.1.4 in an MFC project
The movie is playing great.
I am trying to add the following code to add an overlay image but I do not see it. What am I doing wrong?
Code: Select all
libvlc_video_set_logo_int(m_pMediaPlayer,libvlc_logo_enable, 1);
libvlc_video_set_logo_string(m_pMediaPlayer,libvlc_logo_file,"c:\\basketball.png"); //also tried with "c:\\basketball.png;"
libvlc_video_set_logo_int(m_pMediaPlayer,libvlc_logo_x,0);
libvlc_video_set_logo_int(m_pMediaPlayer,libvlc_logo_y,0);
libvlc_video_set_logo_int(m_pMediaPlayer,libvlc_logo_repeat,-1); // continuous?
libvlc_video_set_logo_int(m_pMediaPlayer,libvlc_logo_opacity,255); // totally opaque