Skip to content
Snippets Groups Projects
Commit 25fdbb5f authored by Aaron Viets's avatar Aaron Viets
Browse files

Trying again... get lal_pacer to talk

parent f7a91cbf
No related branches found
No related tags found
1 merge request!1CI development
......@@ -167,7 +167,7 @@ static GstFlowReturn transform_ip(GstBaseTransform *trans, GstBuffer *buf) {
time_to_push_buffer = element->real_t0 + (stream_time - element->t0) / element->speed;
wait_time = time_to_push_buffer > current_time ? time_to_push_buffer - current_time : 0;
g_printerr("real_t0=%lu\nt0=%lu\ncurrent_time=%lu\nstream_time=%lu\ntime_to_push_buffer=%lu\nwait_time=%lu", element->real_t0, element->t0, current_time, stream_time, time_to_push_buffer, wait_time);
GST_WARNING_OBJECT(element, "real_t0=%lu\nt0=%lu\ncurrent_time=%lu\nstream_time=%lu\ntime_to_push_buffer=%lu\nwait_time=%lu", element->real_t0, element->t0, current_time, stream_time, time_to_push_buffer, wait_time);
sleep(wait_time / 1000000000.0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment