[Bug 768530] shmsink: Check return values of functions operating on memory

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 7 19:15:20 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=768530

Tim-Philipp Müller <t.i.m at zen.co.uk> changed:

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

--- Comment #5 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
Actually, I think this is fine as is.

The first is the message that would be shown to a user. It should not contain
any technical details really, and it should ideally be translated.

In this case "memory" and the fact that it couldn't be "mapped" are low-level
details a normal user wouldn't understand, so they should go into the debug
string (second string).

Leaving the first as (NULL) means the user gets to see some generic translated
'streaming failed' message, which is as good as it can be here I suppose.

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