GNOME Bugzilla – Bug 656107
shmsink should have a buffer-time property.
Last modified: 2011-10-12 09:51:04 UTC
shmsink should have a buffer-time property similar to pulse-sink :).. Various use-case want to limit the buffering the might happen in the shmsink to be able to minimize worst-case latency..
Created attachment 193377 [details] [review] Add ability to tag shmpipes buffers Add the ability to add a simple uint64 tag to shmpipe buffers, this can be load to store the timestamp for our own booking in the gst element
Created attachment 193378 [details] [review] Add buffer-time property to shmsink
Review of attachment 193377 [details] [review]: ::: sys/shm/shmpipe.c @@ +545,2 @@ int +sp_writer_send_buf (ShmPipe * self, char *buf, size_t size, uint64_t tag) Where is this change in shmpipe.h ?
Review of attachment 193378 [details] [review]: ::: sys/shm/gstshmsink.c @@ +168,3 @@ + "Buffer Time of the shm buffer", + "Maximum Size of the shm buffer in nanoseconds", + 0, G_MAXUINT64, GST_CLOCK_TIME_NONE, What does GST_CLOCK_TIME_NONE mean? Why not 0 as the default ?
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
commit 94d9327e2a1d2de75faa3e8f9f8cea10241ad471 Author: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Date: Sun Aug 7 17:01:48 2011 +0200 shm: Add buffer-time property Add a buffer-time property to limit the size of the amount of data queued in the shmsink buffer in nanoseconds. Fixes: #656107