const char * gf_filter_get_name(GF_Filter *filter)
{
	assert(filter);
	if (filter->name)
		return (const char *)filter->name;
	return (const char *)filter->freg->name;
}
const char * gf_filter_get_name(GF_Filter *filter)
{
	assert(filter);
	if (filter->name)
		return (const char *)filter->name;
	return (const char *)filter->freg->name;
}