[gst-devel] palybin http sources

Tim-Philipp Müller t.i.m at zen.co.uk
Tue Jul 22 20:57:43 CEST 2008


On Tue, 2008-07-22 at 17:43 +0000, Ash wrote:

>     gst_element_set_state(pipeline, GST_STATE_PAUSED);
>     g_loop = g_main_loop_new(NULL, FALSE);
>     g_main_loop_run(g_loop);
> 
> In my bus_test handler, I checked for STATE CHANGED messages. For File
> sources, usually after about 4 STATE CHANGED messages, the state is
> changed from READY TO PAUSED. However with HTTP sources, the source
> never changes from READY.

You should also check the return value of _set_state() for FAILURE
and/or check for ERROR messages on the bus. Do you get any error
messages?

Cheers
 -Tim






More information about the gstreamer-devel mailing list