diff options
Diffstat (limited to 'data.c')
-rw-r--r-- | data.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -189,6 +189,8 @@ int ipecamera_get(pcilib_context_t *vctx, pcilib_event_id_t event_id, pcilib_eve return PCILIB_ERROR_NOTINITIALIZED; } + ipecamera_debug(API, "ipecamera: get (data)"); + buf_ptr = ipecamera_resolve_event_id(ctx, event_id); if (buf_ptr < 0) return PCILIB_ERROR_OVERWRITTEN; @@ -272,5 +274,7 @@ int ipecamera_return(pcilib_context_t *vctx, pcilib_event_id_t event_id, pcilib_ pthread_rwlock_unlock(&ctx->frame[buf_ptr].mutex); } + ipecamera_debug(API, "ipecamera: return (data)"); + return 0; } |