[Bug 794840] display: drm: Remove PCI bus assumption when looking up the DRM device
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Mar 30 16:55:21 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=794840
Víctor Manuel Jáquez Leal <vjaquez at igalia.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #370340|none |reviewed
status| |
--- Comment #2 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Review of attachment 370340:
--> (https://bugzilla.gnome.org/review?bug=794840&attachment=370340)
Thanks for the patch.
Just a couple nitpicks.
::: gst-libs/gst/vaapi/gstvaapidisplay_drm.c
@@ +118,3 @@
}
+
nitpick: I guess this extra line is not part of the patch
@@ +210,1 @@
Another nitpick: this block could be more compact if
if (strncmp (busid, "pci:", 4) == 0)
busid += 4;
else if (strncmp (busid, "platform:", 9) == 0)
busid += 9;
else
goto end;
busid_length = strlen (busid)
But if you add a static structure with a loop, would be much more neat :)
--
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