Unit of time of "max-time" property (appsink and appsrc)

Hello,
in gstappsrc and gstappsink we can use the property “max-time” to control buffers. But it is not written what is the unit of this property.

Thanks

It’s in nanoseconds (aka GstClockTime). As a general rule in GStreamer, if there’s a time value that doesn’t say the unit then it’s in nanoseconds.

4 Likes