mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-21 18:50:47 +03:00
Fix lint
This commit is contained in:
parent
1765fdcb41
commit
b077596704
1 changed files with 5 additions and 5 deletions
|
@ -330,11 +330,11 @@ GstElement *
|
||||||
newVideoSinkChain(GstElement *pipe)
|
newVideoSinkChain(GstElement *pipe)
|
||||||
{
|
{
|
||||||
// use compositor for now; acceleration needs investigation
|
// use compositor for now; acceleration needs investigation
|
||||||
GstElement *queue = gst_element_factory_make("queue", nullptr);
|
GstElement *queue = gst_element_factory_make("queue", nullptr);
|
||||||
GstElement *compositor = gst_element_factory_make("compositor", "compositor");
|
GstElement *compositor = gst_element_factory_make("compositor", "compositor");
|
||||||
GstElement *glupload = gst_element_factory_make("glupload", nullptr);
|
GstElement *glupload = gst_element_factory_make("glupload", nullptr);
|
||||||
GstElement *qmlglsink = gst_element_factory_make("qml6glsink", nullptr);
|
GstElement *qmlglsink = gst_element_factory_make("qml6glsink", nullptr);
|
||||||
GstElement *glsinkbin = gst_element_factory_make("glsinkbin", nullptr);
|
GstElement *glsinkbin = gst_element_factory_make("glsinkbin", nullptr);
|
||||||
g_object_set(compositor, "background", 1, nullptr);
|
g_object_set(compositor, "background", 1, nullptr);
|
||||||
g_object_set(qmlglsink, "widget", WebRTCSession::instance().getVideoItem(), nullptr);
|
g_object_set(qmlglsink, "widget", WebRTCSession::instance().getVideoItem(), nullptr);
|
||||||
g_object_set(glsinkbin, "sink", qmlglsink, nullptr);
|
g_object_set(glsinkbin, "sink", qmlglsink, nullptr);
|
||||||
|
|
Loading…
Reference in a new issue