The custom_ts_element attaches a reference timestamp metadata item to the buffers that pass through (based on UTC time). We need to be able to get the reference timestamp for the buffers in Process 2.In preliminary testing we have discovered that our buffer metadata is not making it across the
shm interface to the pipeline in Process 2. Here is the buffer logging output of a test run with
shmsrc ! gdpdepay !
fakesink that shows "meta: none":
I examined some of the shmsink code and saw a spot where the element iterates through the
GstMeta objects attached to the buffer and copies them in preparation for copying the buffer to shared memory and expected the metadata to be available in the buffers from
shmsrc.I also ran a test where I removed the
gdppay / gdpdepay elements to see if that serialization was removing the metadata, but that didn't change anything.
Is this a bug in shmsink/shmsrc? Or is it functioning as designed?