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

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Nov 12 13:08:56 PST 2013


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

--- Comment #4 from Reynaldo H. Verdejo Pinochet <reynaldo at opendot.cl> 2013-11-12 21:08:53 UTC ---
I see but, wouldn't it make more sense to cache the
size only on functions that are actually meant to modify
the buffer's mem and are then expected to modify the
buffer size (if needed) in both the strict and non-strict
senses you mention? The idea of writing to anything on
a get_size() func keeps sounding wrong to me, API-wise
that is.

I must confess that I am missing a few implementation
details here (taking a look now) so sry if what I'm
saying or my understanding of what you meant is wrong.

-- 
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