Custom meta-data "disappears" on omxh264dec from SINK to SRC
My meta-data disappears on omxh264dec after attaching it on the SINK. This appears to only happen on elements that change memory types, ex: from video/x-264 --> video/x-raw
My use-case
I have a simple custom meta-data structure that I attach to a GstBuffer for timing purposes:
/** Timing meta data to be appended to buffers **/
typedef struct _TimingMeta TimingMeta;
struct _TimingMeta {
GstMeta meta;
GstClockTime timestamp;
GstClockTime captureTime;
};
I am able to "inject"/"extract" the meta data for general elements where for example the CAPS are all "video/x-raw", like so:
GstBuffer *buffer = GST_PAD_PROBE_INFO_BUFFER (info);
TimingMeta* timingMeta = gst_buffer_get_timing_meta(buffer);