[Bug 784312] encodebin: simplify the are_raw_caps function

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jun 29 15:27:44 UTC 2017


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

--- Comment #2 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Review of attachment 354661:
 --> (https://bugzilla.gnome.org/review?bug=784312&attachment=354661)

::: gst/encoding/gstencodebin.c
@@ +595,3 @@
 {
   GstCaps *raw = gst_static_caps_get (&default_raw_caps);
+  gboolean res = gst_caps_can_intersect (caps, raw);

That's make two function calls for assigning to stack variable. I do think that
some compilers won't like it.

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