[Bug 752185] new qt5 qml video sink

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Oct 21 14:08:08 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=752185

Dmitry <dm.pozhidaev at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dm.pozhidaev at gmail.com

--- Comment #4 from Dmitry <dm.pozhidaev at gmail.com> ---
There are the  way for dynamic usage of new sink in QML Loader? If possible
create example. I mean can I usage this way?



Rectangle {
    width: 640
    height: 480

    Component {
        id:  glvideoitem_ID 

        GstGLVideoItem {
            id: video
            objectName: "videoItem"
        }
    }

    property bool _switcher: false 

    Timer {
       interval:  2000 
       onTimeout: _switcher = _switcher?false:true
    }

    Loader {
          anchors.fill: parent

          componentSource: _switcher?glvideoitem_ID:undefined          
    } 
}

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list