<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
i also use gst with qt<BR>
&nbsp;<BR>
and i start the main loop according to gst document<BR>
&nbsp;<BR>
in my application i have a video thread, and i pass&nbsp;to it the widget&nbsp;Wid, i start the main loop, i set the gst elements, set the overlay, and then run the main loop (g_main_loop_run)<BR>
&nbsp;<BR>
if you dont use the loop of the gst, i think you should implement a loop of your own, waiting for gst event and "paint" each "frame" to the widget...<BR>
&nbsp;<BR>
<BR>&nbsp;<BR>
<HR id=stopSpelling>
Date: Mon, 25 Jan 2010 14:54:34 +0800<BR>From: funpig@gmail.com<BR>To: gstreamer-devel@lists.sourceforge.net<BR>Subject: Re: [gst-devel] GStreamer videotestsrc could not show in QWidget<BR><BR>Hi, Daniel<BR><BR>&nbsp;&nbsp; please see my comments as below green text. thanks.<BR><BR>Br<BR>Tom<BR><BR>
<DIV class=ecxgmail_quote>2010/1/25 Daniel Shachrur <SPAN dir=ltr>&lt;<A href="mailto:deneeel@hotmail.com">deneeel@hotmail.com</A>&gt;</SPAN><BR>
<BLOCKQUOTE style="PADDING-LEFT: 1ex" class=ecxgmail_quote>
<DIV>did you init&nbsp;the gst? did you start the gst main loop?<BR></DIV></BLOCKQUOTE>
<DIV><SPAN style="COLOR: rgb(0,153,0)">Tom : yes, i invoke gst_init(&amp;argc, &amp;argv) in main function. because i use gst in QT, so i'm not start gst main loop. i had look other QT app, it's not start gst main loop also.</SPAN> <BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 1ex" class=ecxgmail_quote>
<DIV>&nbsp;<BR>maybe its nothing, but when i use&nbsp;<FONT color=#a31515 size=2><FONT color=#a31515 size=2>ximagesink as a sink i use also xvi-outpout instead of <FONT color=#a31515 size=2><FONT color=#a31515 size=2>screen_sink</FONT></FONT></FONT></FONT><BR></DIV></BLOCKQUOTE>
<DIV><SPAN style="COLOR: rgb(0,153,0)">Tom: i'll try this. but other app use screen_sink also. it could be work fine in nokia N810.</SPAN> <BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 1ex" class=ecxgmail_quote>
<DIV><FONT color=#a31515 size=2><FONT color=#a31515 size=2><FONT color=#a31515 size=2><FONT color=#a31515 size=2></FONT></FONT></FONT></FONT>&nbsp;<BR><FONT color=#a31515 size=2><FONT color=#a31515 size=2><FONT color=#a31515 size=2><FONT color=#a31515 size=2>also maybe you should try running the gst from a command line (gst-luanch) to see whether you have problem that are not code related<BR></FONT></FONT></FONT></FONT></DIV></BLOCKQUOTE>
<DIV><SPAN style="COLOR: rgb(0,153,0)">Tom : yes, i running gst-luanch in command, the videotesetsrc is work fine. i think it's my code problem, not in gst itself.</SPAN><BR></DIV>
<BLOCKQUOTE style="PADDING-LEFT: 1ex" class=ecxgmail_quote>
<DIV><FONT color=#a31515 size=2><FONT color=#a31515 size=2>&nbsp;</FONT></FONT><BR></DIV></BLOCKQUOTE></DIV><BR>                                               <br /><hr />Windows Live: Keep your friends up to date <a href='http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010' target='_new'>with what you do online.</a></body>
</html>