[Bug 768146] d3dvideosink: leak on caps string

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Jun 28 16:06:28 UTC 2016


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

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

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

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

Good find, can you update your patch? :)

::: sys/d3dvideosink/d3dvideosink.c
@@ -285,3 @@
   GST_DEBUG_OBJECT (bsink, " ");

   GST_DEBUG_OBJECT (bsink, "Caps: %s", (tmp = gst_caps_to_string (caps)));

This should just use GST_PTR_FORMAT, e.g.

GST_DEBUG_OBJECT (bsink, "Caps: %" GST_PTR_FORMAT, caps)

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