[gst-devel] How can I get the error msg after call the gst call?

Stefan Kost ensonic at hora-obscura.de
Thu Nov 18 15:09:16 CET 2010


On 18.11.2010 10:20, michael young wrote:
> Hi all:
>     How can I get the error message when I call the gst call. For
> example , if I called the gst_element_query_duration(),
> and it return false, and now how can I get a description for the
> failure? Is there some function like strerror() ? tks :)

Nope. You would need to check the gstreamer log - run your app like
GST_DEBUG="*:5" ./my-app 2>debug.log.

Stefan

>
> ------------------------------------------------------------------------------
> Beautiful is writing same markup. Internet Explorer 9 supports
> standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
> Spend less time writing and  rewriting code and more time creating great
> experiences on the web. Be a part of the beta today
> http://p.sf.net/sfu/msIE9-sfdev2dev
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>   





More information about the gstreamer-devel mailing list