[gst-devel] Re: [gst-cvs] company gst-plugins: gst-plugins/ gst-plugins/ext/mad/

David Schleef ds at schleef.org
Wed Apr 7 12:03:37 CEST 2004


On Wed, Apr 07, 2004 at 11:25:07AM +0200, Thomas Vander Stichele wrote:
> Hi,
> 
> > Log message:
> > * ext/mad/gstmad.c: (normal_seek):
> > fix GST_FORMAT_TIME usage
> > -  GST_DEBUG ("seek to time " GST_TIME_FORMAT, GST_TIME_ARGS (src_offset));
> > +  GST_DEBUG ("seek to time %" GST_TIME_FORMAT, GST_TIME_ARGS (src_offset));
> 
> Why was this change done ? The log for gstinfo.h says "consistency". 
> But with what ? The only comparable things I see are GST_PTR_FORMAT and
> GST_FOURCC_FORMAT.
> 
> I can somewhat understand shaving off the % for the first, because it
> has a single argument, but I find it very inconsistent for multiple
> argument formats.  In any case, between three uses of _FORMAT macros,
> this change makes it as inconsistent as before.

Also consider the 6 macros in GLib that all require a %.



dave...






More information about the gstreamer-devel mailing list