Synchronizing appsrcs that subscribe to appsink on different times

Mert Can Ergun mert.ergun at mikro-tasarim.com.tr
Fri Dec 30 06:47:44 UTC 2016


Hi Sebastian,
I tested various pipelines connected to the same source pipeline for their
clock pointers and they seemed to have the same clock.
Then I started a counter inside my source pipeline for each client and
tagged each buffer with following three lines.

	GST_BUFFER_TIMESTAMP(buf) = timestamps[i];
	GST_BUFFER_DURATION(buf) = bufferDuration;
	timestamps[i] += GST_BUFFER_DURATION(buf);

The system seems to be working now. 



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Synchronizing-appsrcs-that-subscribe-to-appsink-on-different-times-tp4681168p4681294.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list