recently in the broadcast of RTSP video streaming, the use of VLC library.
When doing the demo, the initialization function Video_inst = Libvlc_new (Vlc_args_num, Vlc_args); The returned value is always empty, a lot of explanations are found on the net, the description of the function, the wood has a workaround.
The return value of the function indicates that the instanc of a VLC is returned when initialization is successfully created;
Workaround:
(1) Because the created project is a non-installed version of the player, it requires VLC plugins, which contains the various library files required by the player. At compile time, put the plugins folder in the Debug folder.
(2) At initialization time, the parameter is set to vlc_args[vlc_args_num++] = "--ignore-config";
There is a need to plugins, can be downloaded in my resources: http://download.csdn.net/detail/qtbmp/7943317
VC + + Development VLC video player small problem--libvlc_new () returned to the vacant question