[gst-devel] Problem with GST_STATE_CHANGE_ASYNC

thiagossantos at gmail.com thiagossantos at gmail.com
Sun Dec 13 02:44:27 CET 2009


On Fri, Dec 11, 2009 at 9:52 PM, S Boucher <stbya at yahoo.com> wrote:

> I do a gst_element_set_state() on a pipeline, and it returns
> GST_STATE_CHANGE_ASYNC.
>
> I then call gst_element_get_state() for that same pipeline to wait for the
> state change to complete, as per the documentation.  However, the program
> never returns from gst_element_get_state().
>
> The pipeline is made up of my own src element, as well as ffmpegcolorspace,
> panorama, volume, audioconvert, audioresample, autoaudiosink.
>
> Help on what to look at would be welcome.
>

If the state you're setting to is GST_STATE_PLAYING, the sink needs to
receive data in order to preroll and effectively change to the PLAYING state
(that's when the get_state call would return). Are you sure your src element
is providing data to the pipeline?


>
>
>
>
>      __________________________________________________________________
> Make your browsing faster, safer, and easier with the new Internet
> Explorer® 8. Optimized for Yahoo! Get it Now for Free! at
> http://downloads.yahoo.com/ca/internetexplorer/
>
>
> ------------------------------------------------------------------------------
> Return on Information:
> Google Enterprise Search pays you back
> Get the facts.
> http://p.sf.net/sfu/google-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>



-- 
Thiago Sousa Santos
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20091212/96393708/attachment.htm>


More information about the gstreamer-devel mailing list