GNOME Bugzilla – Bug 647295
pad: Decreased log level when a too small buffer size is allocated
Last modified: 2012-01-05 10:24:09 UTC
Created attachment 185598 [details] [review] patch This is not an error since we handle it with a fallback method.
It's indeed not an error, but this should be a warning instead. However I agree that it shouldn't fire for each and every single buffer. The size mismatch indicates a possible problem still (at least for performance), and these cases should not at all be swept under the carpet by demoting to debug or log level.
If I'm not mistaken, this indicates a severe bug in some element and it's not something that should ever happen under normal circumstances. It's not an error in the sense that it's fatal, but it's still an error really. It would be equally valid to just error out IMHO, the fact that we're doing a fallback here is just us being nice. I think we should keep this at ERROR debug level, because git builds of GStreamer core default to GST_DEBUG=*:1, and I think this is really something we'd like to know about if it happened. If things like this don't warrant an ERROR debug level, what does?
True, this is probably a patch I will keep around at my end. We have some requirements to how memory and buffers are allocated, so we have some local patches which perform trickery which again makes this happen. I originally thought this was a good idea, but maybe warning would be better. Anyway, after Tim-Philipps comment it made me realize that this is nothing you want to have upstream.
*** Bug 667304 has been marked as a duplicate of this bug. ***