Original commit message from CVS:
This is broken too... I'm a moron
v4lmjpegsrc->first_timestamp = v4lmjpegsrc->bsync.timestamp.tv_sec * GST_SECOND +
v4lmjpegsrc->bsync.timestamp.tv_usec * GST_SECOND/1000000;
GST_BUFFER_TIMESTAMP(buf) = v4lmjpegsrc->bsync.timestamp.tv_sec * GST_SECOND +
- v4lmjpegsrc->bsync.timestamp.tv_usec - v4lmjpegsrc->first_timestamp * GST_SECOND/1000000;
+ v4lmjpegsrc->bsync.timestamp.tv_usec * GST_SECOND/1000000 - v4lmjpegsrc->first_timestamp;
return buf;
}
v4lsrc->first_timestamp = v4lsrc->timestamp_soft_sync[num].tv_sec * GST_SECOND +
v4lsrc->timestamp_soft_sync[num].tv_usec * GST_SECOND/1000000;
GST_BUFFER_TIMESTAMP(buf) = v4lsrc->timestamp_soft_sync[num].tv_sec * GST_SECOND +
- v4lsrc->timestamp_soft_sync[num].tv_usec - v4lsrc->first_timestamp * GST_SECOND/1000000;
+ v4lsrc->timestamp_soft_sync[num].tv_usec * GST_SECOND/1000000 - v4lsrc->first_timestamp;
return buf;
}