[gst-devel] Use of g_print

Benjamin Otte in7y118 at public.uni-hamburg.de
Wed Mar 24 10:14:13 CET 2004


gst_utils_dump_mem is a utility function for debugging purposes and is
never used in elements unless requested (fakesink dump=TRUE). I use it
quite a bit.

The problem is that the output of that function is already quite wide, so
adding the debugging info on the left side would probably make it have
line breaks. So it's used as normal g_print's.

But since it's never used unless requested (as any other output to stdout)
I don't see a problem there.

Benjamin


On Wed, 24 Mar 2004, Mathew Spencer wrote:

> Hi all,
>
> Can I make a suggestion that the use of g_print in library code in
> gstreamer core and plugins?  It applications that require use of stdout
> (ie cgi scripts) impossible.  The current offending item is in
> gstutils.c in the gst_utils_dump_mem function.  A simple change to
> gst_info fixes the problem.
>
> Regards,
>
> Mat
>
>
> ***********************************************************************************************
> The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only.
>
> This email and any response may be monitored by Sony United Kingdom Limited.
> (04)
> ***********************************************************************************************
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: IBM Linux Tutorials
> Free Linux tutorial presented by Daniel Robbins, President and CEO of
> GenToo technologies. Learn everything from fundamentals to system
> administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>





More information about the gstreamer-devel mailing list