|
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
|