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 754686 - adaptivedemux: statistics message name macro is unprefixed
adaptivedemux: statistics message name macro is unprefixed
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal normal
: 1.5.91
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-09-07 14:56 UTC by Philippe Normand
Modified: 2015-09-17 16:59 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
adaptivedemux: prefix the statistics message name macro (3.03 KB, patch)
2015-09-07 14:58 UTC, Philippe Normand
none Details | Review
adaptivedemux: prefix the statistics message name macro (3.08 KB, patch)
2015-09-14 08:18 UTC, Philippe Normand
none Details | Review
adaptivedemux: prefix the statistics message name macro (3.09 KB, patch)
2015-09-14 08:21 UTC, Philippe Normand
none Details | Review

Description Philippe Normand 2015-09-07 14:56:49 UTC
The STATISTICS_MESSAGE_NAME macro should be GST_-prefixed because it's exposed in a public header.
Comment 1 Philippe Normand 2015-09-07 14:58:21 UTC
Created attachment 310829 [details] [review]
adaptivedemux: prefix the statistics message name macro
Comment 2 Tim-Philipp Müller 2015-09-11 18:18:35 UTC
Comment on attachment 310829 [details] [review]
adaptivedemux: prefix the statistics message name macro

Thanks, but I think it should be prefixed fully then, i.e. GST_ADAPTIVE_DEMUX_STATISTICS_MESSAGE_NAME, even if it's longer.
Comment 3 Philippe Normand 2015-09-14 08:18:59 UTC
Created attachment 311260 [details] [review]
adaptivedemux: prefix the statistics message name macro
Comment 4 Philippe Normand 2015-09-14 08:21:19 UTC
Created attachment 311261 [details] [review]
adaptivedemux: prefix the statistics message name macro
Comment 5 Tim-Philipp Müller 2015-09-17 16:40:27 UTC
Thanks. I kept the old define around for now with deprecation guards, and added a gtk-doc blurb with since marker for the new one.

commit 261d8daca06f4852887e519b7339ca670dc42a79
Author: Philippe Normand <philn@igalia.com>
Date:   Mon Sep 7 16:57:05 2015 +0200

    adaptivedemux: prefix the statistics message name macro
    
    Keep old define around for now.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=754686
Comment 6 Tim-Philipp Müller 2015-09-17 16:59:12 UTC
As Sebastian pointed out on IRC, the define was only added in this cycle, so we might just as well remove it fully. Sorry for the noise!

commit d331f01e03ecef2f4e0d18c19e5ebc1d73d59bcd
Author: Tim-Philipp Müller <tim@centricular.com>
Date:   Thu Sep 17 17:54:36 2015 +0100

    adaptivedemux: remove unprefix STATISTICS_MESSAGE_NAME after all
    
    It was only added during 1.5.x so we might just as well remove it
    immediately.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=754686