gstreamer problem after set element state: GST_STATE_PLAYING

Tim Müller tim at centricular.com
Sun Aug 20 15:01:53 UTC 2017


On Tue, 2017-08-15 at 18:39 -0700, quang_openstack wrote:

Hi,

> After I set:
>     gst_element_set_state (pipeline, GST_STATE_PLAYING);
> The whole code after this line does not work.
> For example, I do print characters like
>     printf("Start playing.\n");
> It does not print out. 
> Are the anyone can give me some suggestion why this happen and how to
> fix it?

If it doesn't return it must hang or loop somewhere.

Get a stack trace from a debugger to see where it's stuck.

Cheers
 -Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com

Join us at the GStreamer Conference!
21-22 October 2017 in Prague, Czech Republic
http://gstreamer.freedesktop.org/conference/


More information about the gstreamer-devel mailing list