[webkit-dev] How can I get some debug infomation in MediaPlayerPrivateGStreamer.cpp
hzqhuan at gmail.com
Fri Apr 20 22:09:49 PDT 2012
Thank you for your reply.
In some functions of MediaPlayerPrivateGStreamer.cpp, I can get output of
printf. But when I add printf in some functions just like isAvailable, I
cannot get anything output in all of the functions of
MediaPlayerPrivateGStreamer.cpp. After many tests, I found only in*
the statement "printf()" not always work for me.
I don't know why this happen and what's wrong with
MediaPlayerPrivateGStreamer.cpp, but anyway, fflush seems to work for me
2012/4/21 Philippe Normand <philn at igalia.com>
> On Fri, 2012-04-20 at 10:42 +0800, ZiQiangHuan wrote:
> > hi，
> > I build webkit with gstreamer support, but I encountered a problem
> > when I test with it. When I write a simple statement "printf("*****
> > \n")" in the function isAvailable() of
> > MediaPlayerPrivateGStreamer.cpp, I got nothing output. When I do the
> > same thing with the function create of
> > MediaPlayerPrivateGStreamer.cpp, I got nothing output too. So I want
> > to know if I want to get some debug info in these functions, what
> > should I do? anyone has some experience with this? And I don't know
> > why this happen.
> That's odd, the stdout buffer should be flushed since you insert a new
> line. Try to force a fflush() call maybe?
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the webkit-dev