Luigi Rizzo wrote:
> f = get_video_frames(env);
> if (f) {
> ast_channel_lock(env->owner);
> // enqueue on env->owner->readq ?
> ast_channel_unlock(env->owner);
> }
ast_queue_frame() is what you're looking for here.
--
Russell Bryant
Software Engineer
Digium, Inc.