Example #1
0
static GF_Err IS_DetachStream(GF_BaseDecoder *plug, u16 ES_ID)
{
	ISPriv *is = (ISPriv *)plug->privateStack;
	is->ES_ID = 0;
#if GPAC_HTK_DEMO
	if (htk_num_users) {
		htk_num_users--;
		if (!htk_num_users) {
			while (is->htk_running) gf_sleep(10);
			HTK_Close();
		}
	}
#endif
	return GF_OK;
}
Example #2
0
static M4Err IS_DetachStream(BaseDecoder *plug, u16 ES_ID)
{
	ISPriv *is = plug->privateStack;
	is->ES_ID = 0;
#if M4_HTK_DEMO
	if (htk_num_users) {
		htk_num_users--;
		if (!htk_num_users) {
			while (is->htk_running) Sleep(10);
			HTK_Close();
		}
	}
#endif
	return M4OK;
}