[Bug 791779] v4l2src: mmap64 is not available on FreeBSD
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Dec 19 18:48:53 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=791779
--- Comment #8 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
Review of attachment 365739:
--> (https://bugzilla.gnome.org/review?bug=791779&attachment=365739)
::: sys/v4l2/gstv4l2object.c
@@ +519,3 @@
v4l2object->mmap = mmap64;
+#else
+ v4l2object->mmap = mmap;
To explain better, here you assume that not having mmap64 implies that off_t ==
int64_t . Check for the exact thing you are looking for, e.g. that
sizeof(off_t) == 8. The signature I'm trying to match is the following:
LIBV4L_PUBLIC void *v4l2_mmap(void *start, size_t length, int prot, int flags,
int fd, int64_t offset);
--
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