提交 8ce08ded 编写于 作者: A Alexander Alekhin

Merge pull request #19072 from mshabunin:sink-sync-off

......@@ -924,6 +924,11 @@ bool GStreamerCapture::open(const String &filename_)
gst_app_sink_set_max_buffers(GST_APP_SINK(sink.get()), 1);
}
if (!manualpipeline)
{
gst_base_sink_set_sync(GST_BASE_SINK(sink.get()), FALSE);
}
//do not emit signals: all calls will be synchronous and blocking
gst_app_sink_set_emit_signals (GST_APP_SINK(sink.get()), FALSE);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册