Re: gstreamer problem after set element state: GST_STATE_PLAYING

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer problem after set element state: GST_STATE_PLAYING

Yasushi SHOJI-2
Hi,

On Wed, Aug 16, 2017 at 10:39 AM, quang_openstack <[hidden email]> wrote:
>
> I got a problem about gstreamer
> After I set:
>     gst_element_set_state (pipeline, GST_STATE_PLAYING);
> The whole code after this line does not work.

It's hard for anyone without actual code or at least your pipeline to
tell what's bad.

Help us to help you.
-- 
              yashi


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gstreamer problem after set element state: GST_STATE_PLAYING

Tim Müller
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/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel