After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 320324 - [API] GST_FOURCC_FORMAT should drop leading '%'
[API] GST_FOURCC_FORMAT should drop leading '%'
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.9.x
Other Linux
: Normal normal
: 0.9.6
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks: 319388
 
 
Reported: 2005-10-31 15:51 UTC by Tim-Philipp Müller
Modified: 2005-11-21 14:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tim-Philipp Müller 2005-10-31 15:51:31 UTC
Currently all our FOO_BAR_FORMAT macros like GST_TIME_FORMAT, GST_PTR_FORMAT
etc. expect the initial '%' to be part of the string, e.g. you write

  GST_DEBUG ("Timestamp: %" GST_TIME_FORMAT, GST_TIME_ARGS (ts));

while currently with GST_FOURCC_FORMAT you need to write

  GST_DEBUG ("Fourcc: " GST_FOURCC_FORMAT, GST_FOURCC_ARGS (fourcc));


That's a bit inconsistent. Let's change GST_FOURCC_FORMAT to drop the initial
'%' when we do the big API change in November.

Cheers
 -Tim
Comment 1 Tim-Philipp Müller 2005-11-21 14:35:01 UTC
Fixed in CVS.