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

michael young mcygogo at gmail.com
Fri Nov 19 02:36:03 CET 2010


Hi Stefan:
    In my app , I always cannot call the gst_element_query_duration()
success, so I want get
the error information by some way. and I generated the debug log as you told
me , but I still
cannot find any information about gst_element_query_duration()? Do you know
why? tks:)

On Fri, Nov 19, 2010 at 9:27 AM, michael young <mcygogo at gmail.com> wrote:

> Hi Stefan:
>     when I run my app like you said, I got a big log file. I just run my
> app 16 seconds and I got
> a log file with 40M size! Is this all right ?? and  I think It's so
> difficult to find any useful message from the big file!!
>
>
> On Thu, Nov 18, 2010 at 10:09 PM, Stefan Kost <ensonic at hora-obscura.de>wrote:
>
>> 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
>> >
>>
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20101119/baf04a97/attachment.htm>


More information about the gstreamer-devel mailing list