If it helps to understand my problem and mistakes, there is a piece of code in Python I am playing with: <a href="http://pastebin.com/f53948cdf">http://pastebin.com/f53948cdf</a><br>and there is the full debug output: <a href="http://pastebin.com/f3c0e627b">http://pastebin.com/f3c0e627b</a><br>
<br>Thanks,<br>Jura<br><br><div class="gmail_quote">On Tue, Jun 16, 2009 at 11:37 AM, Juraj Kubelka <span dir="ltr"><<a href="mailto:juraj.kubelka@googlemail.com">juraj.kubelka@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi!<br><br>I tried to change pipeline's state to PLAYING, then to NULL and then to PLAYING. But the last state change is never happened. It waits forever (because of blocked method pipeline.get_state()). I found out message which says: filesink is changing state asynchronously to PLAYING. <br>
<br>0:00:04.310890050 5634 0x132efd0 INFO GST_STATES gstbin.c:2197:gst_bin_change_state_func:<pipeline> child 'file' is changing state asynchronously to PLAYING<br><br>But I don't know why. I would like to reuse the same pipeline. For know: create it, play, stop, play, stop... Pipeline is simple: alsasrc ! queue ! audioconvert ! vorbisenc ! oggmux ! filesink.<br>
<br>It also says:<br><br>0:00:04.393084573 5634 0x160abe0 WARN oggmux gstoggmux.c:1132:gst_ogg_mux_process_best_pad:<multiplexer> no subsequent buffer and EOS not reached<br>0:00:04.393095274 5634 0x160abe0 WARN vorbisenc vorbisenc.c:1196:gst_vorbis_enc_chain:<encoder> Failed to push headers<br>
0:00:04.422744230 5634 0x15de340 INFO basesrc gstbasesrc.c:2114:gst_base_src_loop:<source> pausing after gst_pad_push() = wrong-state<br><br>maybe because of a message above when state was changing from PLAYING to NULL:<br>
<br>0:00:02.272544776 5634 0x1625690 INFO basesrc gstbasesrc.c:2021:gst_base_src_loop:<source> pausing after gst_base_src_get_range() = wrong-state<br>0:00:02.272570930 5634 0x132efd0 INFO GST_EVENT gstpad.c:4317:gst_pad_send_event:<queue:sink> Received event on flushing pad. Discarding<br>
<br><br>Can you give me an advice?<br>Thank you a lot!<br>Jura<br>
</blockquote></div><br>