libvlc clear surface with black screen after stop operation
Posted: 15 Dec 2020 12:26
Hello. I am using libvlc. I want to clear surface after stop player. Here is my stop codes. Nothing works as I expected.
How can I get black screen after stop?
Code: Select all
libvlc_media_player_set_hwnd(m_player->core(), (void*)0);
libvlc_media_player_stop(m_player->core());
libvlc_media_player_release(m_player->core());
libvlc_release(m_instance->core());