/alps/ipecamera

To get this branch, use:
bzr branch http://darksoft.org/webbzr/alps/ipecamera

« back to all changes in this revision

Viewing changes to cli.c

  • Committer: Suren A. Chilingaryan
  • Date: 2015-03-29 16:05:58 UTC
  • Revision ID: csa@suren.me-20150329160558-326s1v2vlh850s6t
Fix frame size computation in ipecamera and few debuging options

Show diffs side-by-side

added added

removed removed

Lines of Context:
1237
1237
    ctx->event_pending = 0;
1238
1238
    ctx->event_count++;
1239
1239
    
1240
 
    ctx->missing_count += (info->seqnum - ctx->last_num) - 1;
 
1240
    if (ctx->last_num)
 
1241
        ctx->missing_count += (info->seqnum - ctx->last_num) - 1;
1241
1242
    ctx->last_num = info->seqnum;
1242
1243
    
1243
1244
    if (info->flags&PCILIB_EVENT_INFO_FLAG_BROKEN) {