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());
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());
No, it's obviously not.That's obviously out of scope.
This isn't currently done by libvlc, you will have to clear the surface yourself after stop. It has been reported to me before (https://code.videolan.org/videolan/LibV ... issues/260) and it appears several libvlc users expect libvlc to clear the surface after stop is called.I want to clear surface after stop player.
Yes, it obviously is.No, it's obviously not.That's obviously out of scope.
Oh ok you convinced me.Yes, it obviously is.
Return to “Development around libVLC”
Users browsing this forum: No registered users and 10 guests