I have been studying the source for mplayerplug-in.  Very cool!!


I have a question about how printf and fprintf are used throughout the code.


I see the messages printed with fprintf are printed to a log file and I am able to read that.  However, where do the messages printed with printf go?  In other words, how can I read stdout from a plugin?


I tried executing mozilla with mozilla >temp.log, but that didn’t help.


Please help!