So the pipeline I am using is:<br>gst-launch-0.10 filesrc location=MY_MOVIE ! qtdemux name=t ! queue  ! mpeg4dec ! MY_VIDEO_SINK t. ! queue ! faad ! alsasink<br>This pipeline will hang and after CTRL-C the mpeg4dec will show the message that is the result of calling gst_push_pad. This gst_push_pad will return GST_FLOW_WRONG_STATE.<br>
<br>If I run gst-launch-0.10 filesrc location=MY_MOVIE ! qtdemux name=t ! queue  ! mpeg4dec ! MY_VIDEO_SINK<br>the video will play just fine<br><br>If I run:<br>gst-launch-0.10 filesrc location=MY_MOVIE ! qtdemux name=t ! queue ! faad ! alsasink<br>
the audio from the audio will play just fine. <br><br>I am not sure which code would be helpful since I have a lot of it. <br>Thanks for the GST_DEBUG info. <br><br>Ogi<br><br><br><div class="gmail_quote">On Wed, Dec 8, 2010 at 4:05 PM, Tim-Philipp Müller <span dir="ltr">&lt;<a href="mailto:t.i.m@zen.co.uk">t.i.m@zen.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">On Wed, 2010-12-08 at 12:53 -0800, Radivoje Jovanovic wrote:<br>

<br>
&gt; I have a video sink and ALSA driver to be used to play videos on the<br>
&gt; platform. If I play video or audio by them self everything works fine,<br>
&gt; but if I specify the whole pipeline for video and audio, the video<br>
&gt; decoder (in pipeline right before the sink) comes back with the<br>
&gt; message:<br>
&gt; &quot;The decoded frame did not successfully push out to downstream<br>
&gt; element&quot;<br>
&gt; The message comes because the gst_pad_push have returned with<br>
&gt; GST_FLOW_WRONG_STATE instead GST_FLOW_OK.<br>
&gt;<br>
&gt; Any idea why this might happen?<br>
<br>
</div></div>It usually helps if you post your exact pipeline and/or any code<br>
snippets that go with it.<br>
<br>
FLOW_WRONG_STATE is what you get when a pad is flushing, which may be<br>
normal (happens during a flushing seek, to make the old streaming thread<br>
stop) or because you forgot to set an element into PAUSED/PLAYING state<br>
(e.g. because you added it from a pad-added or new-decoded-pad callback<br>
or so).<br>
<br>
The GST_DEBUG=*:5 log might give you more information (just grep for<br>
wrong-state and read the lines before that).<br>
<br>
Cheers<br>
 -Tim<br>
<br>
<br>
<br>
------------------------------------------------------------------------------<br>
This SF Dev2Dev email is sponsored by:<br>
<br>
WikiLeaks The End of the Free Internet<br>
<a href="http://p.sf.net/sfu/therealnews-com" target="_blank">http://p.sf.net/sfu/therealnews-com</a><br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</blockquote></div><br>