<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>I have a strange problem:</div><div><br></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">If I call&nbsp;</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">pipeline = gst_parse_launch("playbin2 &nbsp;uri='file:://[filepath]' ", &amp;error);&nbsp;</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">gst_parse_launch&nbsp;does not return an error, but setting the pipeline state later to paused or playing returns&nbsp;GST_STATE_CHANGE_FAILURE.</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">The same command in the shell&nbsp;</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">gst-launch&nbsp;playbin2 &nbsp;uri='file:://[filepath]'&nbsp;</span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;"><br></span></font></div><div><font class="Apple-style-span" size="3"><span class="Apple-style-span" style="font-size: 12px;">works fine.</span></font></div><div><br></div><div>I do not understand the difference. Any hints?</div><div><br></div><div>Thanks&nbsp;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>Roland</div><div><br></div><div><font class="Apple-style-span" face="Menlo" size="3"><span class="Apple-style-span" style="font-size: 11px;"><br></span></font></div><div><font class="Apple-style-span" face="Menlo" size="3"><span class="Apple-style-span" style="font-size: 11px;"><br></span></font></div></div></body></html>