[gst-devel] Change pipeline's state to playing, null, playing

Juraj Kubelka juraj.kubelka at googlemail.com
Tue Jun 16 12:02:03 CEST 2009


If it helps to understand my problem and mistakes, there is a piece of code
in Python I am playing with: http://pastebin.com/f53948cdf
and there is the full debug output: http://pastebin.com/f3c0e627b

Thanks,
Jura

On Tue, Jun 16, 2009 at 11:37 AM, Juraj Kubelka <
juraj.kubelka at googlemail.com> wrote:

> Hi!
>
> 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.
>
> 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
>
> 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.
>
> It also says:
>
> 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
> 0:00:04.393095274  5634 0x160abe0 WARN             vorbisenc
> vorbisenc.c:1196:gst_vorbis_enc_chain:<encoder> Failed to push headers
> 0:00:04.422744230  5634 0x15de340 INFO               basesrc
> gstbasesrc.c:2114:gst_base_src_loop:<source> pausing after gst_pad_push() =
> wrong-state
>
> maybe because of a message above when state was changing from PLAYING to
> NULL:
>
> 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
> 0:00:02.272570930  5634 0x132efd0 INFO             GST_EVENT
> gstpad.c:4317:gst_pad_send_event:<queue:sink> Received event on flushing
> pad. Discarding
>
>
> Can you give me an advice?
> Thank you a lot!
> Jura
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090616/8429929c/attachment.htm>


More information about the gstreamer-devel mailing list