edtpdvsrc: call timeout_restart after timeout

This commit is contained in:
Joshua M. Doe 2013-11-19 10:48:59 -05:00
parent b7e5bcbc9a
commit 1b8582aaea

View File

@ -437,6 +437,9 @@ gst_edt_pdv_src_create (GstPushSrc * psrc, GstBuffer ** buf)
GST_WARNING_OBJECT (src,
"Received timeout, data might be incomplete. Check cables and system bandwidth.");
src->total_timeouts = timeouts;
/* TODO: perhaps call twice as in take.c to be more robust */
pdv_timeout_restart(src->dev, TRUE);
}
/* TODO: use allocator */