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 734543 - opus: Improve annotation of internal function
opus: Improve annotation of internal function
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal enhancement
: 1.5.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-08-09 12:25 UTC by Sebastian Rasmussen
Modified: 2014-08-10 11:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch. (1.18 KB, patch)
2014-08-09 12:27 UTC, Sebastian Rasmussen
committed Details | Review

Description Sebastian Rasmussen 2014-08-09 12:25:36 UTC
Since the internal function calls gst_caps_make_writable() the the input
argument is actually consumed and possibly a copy created. Have the annotations
illustrate this.
Comment 1 Sebastian Rasmussen 2014-08-09 12:27:06 UTC
Created attachment 282998 [details] [review]
Proposed patch.
Comment 2 Tim-Philipp Müller 2014-08-10 11:35:06 UTC
Sigh, the only reason I'm pushing this is because removing the annotations would also be a commit ;)

commit e30f4a285180884f9df2d46c7f0573c7faddcc1a
Author: Sebastian Rasmussen <sebras@hotmail.com>
Date:   Sat Aug 9 14:24:59 2014 +0200

    opus: Improve annotation of internal function
    
    https://bugzilla.gnome.org/show_bug.cgi?id=734543