示例#1
0
文件: ctx_load.c 项目: bigbensk/gpac
GF_EXPORT
GF_BaseInterface *LoadInterface(u32 InterfaceType)
{
	switch (InterfaceType) {
#ifndef GPAC_DISABLE_VRML
	case GF_SCENE_DECODER_INTERFACE: return (GF_BaseInterface *)NewContextLoader();
#endif
	default:
		return NULL;
	}
}
示例#2
0
GPAC_MODULE_EXPORT
GF_BaseInterface *LoadInterface(u32 InterfaceType)
{
	switch (InterfaceType) {
#if !defined(GPAC_DISABLE_VRML) && !defined(GPAC_DISABLE_SCENEGRAPH)
	case GF_SCENE_DECODER_INTERFACE:
		return (GF_BaseInterface *)NewContextLoader();
#endif
	default:
		return NULL;
	}
}