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 330906 - API: add GST_QUERY_TYPE_NAME and GST_MESSAGE_TYPE_NAME
API: add GST_QUERY_TYPE_NAME and GST_MESSAGE_TYPE_NAME
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.10.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-02-12 17:45 UTC by Tim-Philipp Müller
Modified: 2006-02-13 11:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed addition (2.51 KB, patch)
2006-02-12 17:45 UTC, Tim-Philipp Müller
committed Details | Review

Description Tim-Philipp Müller 2006-02-12 17:45:15 UTC
I'd like to add two macros:

  GST_QUERY_TYPE_NAME     and
  GST_MESSAGE_TYPE_NAME

which would be nice short cuts for debug messages and go well with the already existing GST_EVENT_TYPE_NAME.

Patch attached.
Comment 1 Tim-Philipp Müller 2006-02-12 17:45:53 UTC
Created attachment 59197 [details] [review]
proposed addition
Comment 2 Andy Wingo 2006-02-13 10:09:10 UTC
Looks quite fine to me
Comment 3 Tim-Philipp Müller 2006-02-13 11:23:53 UTC
2006-02-13  Tim-Philipp Müller  <tim at centricular dot net>

        * docs/gst/gstreamer-sections.txt:
        * gst/gstmessage.h:
        * gst/gstquery.h:
          New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
          macros (#330906). Also, document the already existing
          GST_QUERY_TYPE macro.