[webkit-dev] How can I get some debug infomation in MediaPlayerPrivateGStreamer.cpp

Philippe Normand philn at igalia.com
Fri Apr 20 13:29:33 PDT 2012

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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120420/a7d1b9cb/attachment.bin>

More information about the webkit-dev mailing list