[Bug 787714] gstomxh265enc:Fix Memory leak in error case

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Sep 20 08:34:36 UTC 2017


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

Sebastian Dröge (slomo) <slomo at coaxion.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #360098|none                        |needs-work
             status|                            |

--- Comment #8 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
Review of attachment 360098:
 --> (https://bugzilla.gnome.org/review?bug=787714&attachment=360098)

::: omx/gstomxh265enc.c
@@ +459,3 @@
+  caps = gst_caps_new_simple ("video/x-h265",
+        "stream-format", G_TYPE_STRING, "byte-stream",
+          "alignment", G_TYPE_STRING, "au", NULL);

You can move this below the whole switch blocks to the very bottom, then no
unreffing is ever needed

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