<div dir="ltr">Hi Experts,<br><br>I have a doubt regarding this pipeline (udpsrc -&gt; fakesink)<br><br># gst-launch-0.10 udpsrc port=5060 ! rtppcmadepay ! alawdec ! fakesink<br>Setting pipeline to PAUSED ...<br>Pipeline is live and does not need PREROLL ...<br>

Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br clear="all"><br>On launching it from gst-launch, it stops at last statement above. I think, it is because of lack of data on port 5060. Is it correct understanding ?<br>

<br>Similiarly, when I try to set the pipeline to PLAYING state from code, it returns GST_STATE_CHANGE_ASYNC and on trying to get again the state it blocks indefinitely.<br><br>Here is the code...<br><br>state_return = gst_element_set_state (mPlayBin, GST_STATE_PLAYING);<br>

    GST_PLAYER_DEBUG(&quot;state_return = %d\n&quot;, state_return);<br><br>    if (state_return == GST_STATE_CHANGE_FAILURE) <br>    {<br>        GST_PLAYER_ERROR (&quot;Fail to set pipeline to PLAYING\n&quot;);<br>        goto EXIT;<br>

    }<br>    else if (state_return == GST_STATE_CHANGE_ASYNC)<br>    {<br>        GstState state;<br><br>        // wait for state change complete<br>        GST_PLAYER_DEBUG(&quot;Wait for pipeline&#39;s state change to PLAYING...\n&quot;);<br>

        state_return = gst_element_get_state (mPlayBin, &amp;state, NULL, GST_CLOCK_TIME_NONE);<br>        GST_PLAYER_DEBUG(&quot;Pipeline&#39;s state change to PLAYING\n&quot;);<br>        if (state_return != GST_STATE_CHANGE_SUCCESS || state != GST_STATE_PLAYING ) <br>

        {<br>            GST_PLAYER_ERROR (&quot;Fail to set pipeline to PLAYING\n&quot;);<br>            goto EXIT;<br>        }<br>    }<br><br>Please help.<br>Kind Regards<br>-Durgesh O Mishra<br><br>-- <br>&quot;If you only have a hammer, you tend to see every problem as a nail.&quot;<br>


</div>