how to show video on widget qml on imx6 device

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

how to show video on widget qml on imx6 device

Ronit P Zagade
    if(!gst_element_link_many(source/*, decoder*/,conv,sink,NULL))
        qDebug()<<"link Screen filtercsp_filter failed";

        WId xwinid = window.winId();
        gst_x_overlay_set_xwindow_id(GST_X_OVERLAY(sink),xwinid);
        gst_x_overlay_set_window_handle (GST_X_OVERLAY(sink),xwinid);

     //     window.show();

        gst_element_set_state(pipeline, GST_STATE_PLAYING);

       // window.hide();
    }


these are the code  pipeline is ok and also working bur op of that pipeline are not going to widget  so is any error in  gst_x_overlay_set_xwindow_id or  gst_x_overlay_set_window_handle

thanks in advane