[Bug 728326] Check for return values of gst_buffer_map and gst_memory_map

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Feb 23 16:38:09 UTC 2016


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

Edward Hervey <bilboed at bilboed.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|git master                  |1.7.90

--- Comment #16 from Edward Hervey <bilboed at bilboed.com> ---
commit 01ad1fb343b020e0278bd284a6d49e96629614fb
Author: Edward Hervey <edward at collabora.com>
Date:   Wed Apr 16 11:42:18 2014 +0200

    manual: Fix examples to check for gst_buffer_map return values

    Otherwise people reading the manual will expect it to always
    succeed :)

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

commit 1f7fba19f7aec15bd1f1adcfc39aab827c1ac44b
Author: Edward Hervey <edward at collabora.com>
Date:   Wed Apr 16 11:40:46 2014 +0200

    gstcheck: Check return value of gst_buffer_map

    We can't check contents if we don't have access to it

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

commit 555df9d614149fa0a094c14788b61e16a439b3f8
Author: Edward Hervey <edward at collabora.com>
Date:   Wed Apr 16 11:39:15 2014 +0200

    plugins: Check return values of gst_buffer_map()

    They can fail for various reasons.

    For non-fatal cases (such as the dump feature of identiy and fakesink),
    we just silently skip it.

    For other cases post an error message.

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

commit f7cba27157f9e36c34bda2d8741be4ccb2d17d96
Author: Edward Hervey <bilboed at bilboed.com>
Date:   Tue Feb 23 17:23:43 2016 +0100

    buffer: Check return value of gst_memory_map()

    Only do memory operations if the memory was succesfully map'ed

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

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