[webkit-dev] How can I get some debug infomation in MediaPlayerPrivateGStreamer.cpp
philn at igalia.com
Fri Apr 20 13:29:33 PDT 2012
On Fri, 2012-04-20 at 10:42 +0800, ZiQiangHuan wrote:
> 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?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 190 bytes
Desc: This is a digitally signed message part
More information about the webkit-dev