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 327001 - API: add gst_event_replace
API: add gst_event_replace
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal normal
: 0.10.3
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2006-01-14 21:50 UTC by Tim-Philipp Müller
Modified: 2006-01-20 11:51 UTC
See Also:
GNOME target: ---
GNOME version: ---

patch (1.92 KB, patch)
2006-01-14 21:51 UTC, Tim-Philipp Müller
committed Details | Review

Description Tim-Philipp Müller 2006-01-14 21:50:43 UTC
We have gst_mini_object_replace() and gst_buffer_replace(), but no gst_event_replace(). This is done atomatically, so having it would be nice. Makes code easier to read and our API more consistent. Oh, and it's a #define so it's basically free in terms of exported symbols.

Patch attached.
Comment 1 Tim-Philipp Müller 2006-01-14 21:51:54 UTC
Created attachment 57369 [details] [review]
Comment 2 Tim-Philipp Müller 2006-01-20 11:51:29 UTC
('atomatically' - aren't I creative?) Fixed in CVS:

2006-01-20  Tim-Philipp Muller  <tim at centricular dot net>

        * docs/gst/gstreamer-sections.txt:
        * gst/gstevent.h:
          Add gst_event_replace() (#327001)