niimaqsrc: Timestamp buffers based on time from callback on FRAME_START line
This timestamp should be much more accurate than the time retrieved in GstPushSrc.create, as there should be no latency (or very little).
This commit is contained in:
parent
4c7e2e9165
commit
97b2e8be4c
@ -751,7 +751,6 @@ gst_niimaqsrc_create (GstPushSrc * psrc, GstBuffer ** buffer)
|
||||
/* remove all old frametimes from the list */
|
||||
frametime = niimaqsrc->timelist->data;
|
||||
while (frametime->number < copied_number) {
|
||||
GST_ERROR ("Deleting %d as it is less than %d", frametime->number, copied_number);
|
||||
niimaqsrc->timelist = g_slist_delete_link (niimaqsrc->timelist, niimaqsrc->timelist);
|
||||
frametime = niimaqsrc->timelist->data;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user