Hello all,
I have a pipeline with some custom plugins. When I run the pipeline, my first buffer ( in milliseconds) is negative. When I try to add the lines below, it doesn't work. For some reason, it thinks the negative number is actually positive
#define GST_TIME_MS(buf) GST_TIME_AS_MSECONDS(GST_BUFFER_TIMESTAMP(buf))
if(GST_TIME_MS(buf) < 0){
gst_buffer_unref(buf)
return GST_FLOW_OK;
}
The if never runs, even when the first timestamp is negative.
All your bases are belong to us.