used gstreamer on windows

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

used gstreamer on windows

Martin.cheng
Hi all
I run gstreamer on windows, with version 0.10.28

I used "glimagesink" as video output on windows and "xvimagesink" on Linux.

I got winId of QWidget and set winId as output

it worked fine on linux but on windows 7

I check the code and make sure the problem here
ret = gst_element_set_state(m_pipeline, GST_STATE_NULL);
When I attempt to stop the pipeline, it will down...

who can give some tips about it~
Thanks~
Reply | Threaded
Open this post in threaded view
|

Re: used gstreamer on windows

Martin.cheng
In addition, I did this in the bus sync handler
        GstXOverlay *xoverlay;
        xoverlay = GST_X_OVERLAY (GST_MESSAGE_SRC(msg));
        gst_x_overlay_set_xwindow_id(xoverlay,obj->m_winId);
if I comment the gst_x_overlay_set_xwindow_id(...), it will not chrash, but the video will not show on the widget which I want