示例#1
0
static int module_init(void)
{
	info("v4l2_codec inited\n");

	vidcodec_register(&h264);
	return vidsrc_register(&vidsrc, "v4l2_codec", src_alloc, NULL);
}
示例#2
0
static int module_init(void)
{
	if (CoInitialize(NULL) != S_OK)
		return ENODATA;

	return vidsrc_register(&vsrc, "dshow", alloc, NULL);
}
示例#3
0
文件: fakevideo.c 项目: GGGO/baresip
static int module_init(void)
{
	int err = 0;
	err |= vidsrc_register(&vidsrc, "fakevideo", src_alloc, NULL);
	err |= vidisp_register(&vidisp, "fakevideo", disp_alloc, NULL,
			       display, NULL);
	return err;
}
示例#4
0
static int module_init(void)
{
	/* register all codecs, demux and protocols */
	avcodec_register_all();
	avdevice_register_all();
	av_register_all();

	return vidsrc_register(&mod_avf, "avformat", alloc, NULL);
}
示例#5
0
static int module_init(void)
{
	/* register all codecs, demux and protocols */
	avcodec_register_all();
	avdevice_register_all();

#if LIBAVFORMAT_VERSION_INT >= ((53<<16) + (13<<8) + 0)
	avformat_network_init();
#endif

	av_register_all();

	return vidsrc_register(&mod_avf, baresip_vidsrcl(),
			       "avformat", alloc, NULL);
}
示例#6
0
static int v4l_init(void)
{
	return vidsrc_register(&vidsrc, "v4l2", alloc, NULL);
}
示例#7
0
文件: cairo.c 项目: volkanh/baresip
static int module_init(void)
{
	return vidsrc_register(&vidsrc, "cairo", alloc, NULL);
}