surroundings
VLC3.0.6, Vs2017, Qt5.9.8, (all x64)
effect
video.
break down
Comrades who don’t understand the basic demo of vlc can read the vlc basics I wrote before
The core thing here is the event manager
typedef void ( *libvlc_callback_t )( const struct libvlc_event_t *p_event, void *p_data );
LIBVLC_API int libvlc_event_attach
(
libvlc_event_manager_t *p_event_manager, // 事件管理对象,大概有4~5类
libvlc_event_type_t i_event_type, // 事件类型
libvlc_callback_t f_callback, // 事件回调
void *user_data // 基本为0或this
);
Source code
attention
Search " Qt_io_ " or " Qt Developer Center " on WeChat public account to learn more about Qt and C++ development knowledge.
Author-jxd