src/lib/gscphost/callbackregistries.c
gs_retval_t ftacallback_rm_streamid(struct ringbuf * r, gs_uint32_t streamid)
{
    gs_int32_t x;
    for(x=0;x<lstreamid;x++) {
        if ((fstreamid[x].streamid == streamid)
            && (fstreamid[x].r == r)
            && (fstreamid[x].refcnt > 0))
            fstreamid[x].refcnt--;
    }
    return 0;
}
/* unassosciate a ringbuffer from a streamid */
unassosciate a ringbuffer from a streamid
unassosciate a ringbuffer from a streamid
gs_retval_t ftacallback_rm_streamid(struct ringbuf * r, gs_uint32_t streamid)
{
    gs_int32_t x;
    for(x=0;x<lstreamid;x++) {
        if ((fstreamid[x].streamid == streamid)
            && (fstreamid[x].r == r)
            && (fstreamid[x].refcnt > 0))
            fstreamid[x].refcnt--;
    }
    return 0;
}
gs_retval_t ftacallback_rm_streamid ( struct ringbuf * r , gs_uint32_t streamid ) { gs_int32_t x ; for ( x = 0 ; x < lstreamid ; x ++ ) { if ( ( fstreamid [ x ] . streamid == streamid ) && ( fstreamid [ x ] . r == r ) && ( fstreamid [ x ] . refcnt > 0 ) ) fstreamid [ x ] . refcnt -- ; } return 0 ; }
unassosciate a ringbuffer from a streamid
unassosciate a ringbuffer from a streamid