[Bug 711300] Take a const foo * when we can warrant this behavior

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Nov 11 08:01:45 PST 2013


https://bugzilla.gnome.org/show_bug.cgi?id=711300
  GStreamer | gstreamer (core) | git

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |t.i.m at zen.co.uk

--- Comment #1 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2013-11-11 16:01:41 UTC ---
I don't know if this makes sense in general, e.g. can we really guarantee that
we will never have to take a lock on the buffer in future ? (taking a lock
would modify the structure data, so would not really be const).

It should be obvious to anyone from the name already that this does not
"modify" the buffer, so I don't really see the point of doing this either.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list