Skip to content
Snippets Groups Projects
Commit 9ed693d2 authored by channa's avatar channa
Browse files

unset the GAP flag in gstadder unconditionally this is a FIXME

parent a0dac669
No related branches found
No related tags found
No related merge requests found
......@@ -1009,13 +1009,20 @@ static GstFlowReturn push_output_buffer(GstAdder *adder, GstBuffer *outbuf, gboo
* if empty, mark as gap.
*/
if(empty)
if(empty)
GST_BUFFER_FLAG_SET(outbuf, GST_BUFFER_FLAG_GAP);
/*
* push the buffer downstream.
*/
/* FIXME unset the GAP flag, THIS IS BROKEN we don't know why but the adder seems to always push gaps with lloid_gui.
* This must be fixed or the pipeline won't run as efficiently as it could
*/
GST_BUFFER_FLAG_UNSET(outbuf, GST_BUFFER_FLAG_GAP);
GST_LOG_OBJECT(adder, "pushing outbuf, timestamp %" GST_TIME_FORMAT, GST_TIME_ARGS(GST_BUFFER_TIMESTAMP(outbuf)));
return gst_pad_push(adder->srcpad, outbuf);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment