mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-28 16:43:58 +00:00
571c71e6f7
We are migrating packages that meet below requirements: 1. using `callPackage` 2. called path is a directory 3. overriding set is empty (`{ }`) 4. not containing path expressions other than relative path (to makenixpkgs-vet happy) 5. not referenced by nix files outside of the directory, other than`pkgs/top-level/all-packages.nix` 6. not referencing nix files outside of the directory 7. not referencing `default.nix` (since it's changed to `package.nix`) 8. `outPath` doesn't change after migration The tool is here: https://github.com/Aleksanaa/by-name-migrate.
17 lines
537 B
Diff
17 lines
537 B
Diff
diff --git a/src/v4l2-relayd.c b/src/v4l2-relayd.c
|
|
index 21bb0d5..cfc9e27 100644
|
|
--- a/src/v4l2-relayd.c
|
|
+++ b/src/v4l2-relayd.c
|
|
@@ -27,7 +27,10 @@
|
|
#include <gst/app/gstappsrc.h>
|
|
#include <gst/video/video-info.h>
|
|
|
|
-#define V4L2_EVENT_PRI_CLIENT_USAGE V4L2_EVENT_PRIVATE_START
|
|
+#define V4L2LOOPBACK_EVENT_BASE (V4L2_EVENT_PRIVATE_START)
|
|
+#define V4L2LOOPBACK_EVENT_OFFSET 0x08E00000
|
|
+#define V4L2_EVENT_PRI_CLIENT_USAGE \
|
|
+ (V4L2LOOPBACK_EVENT_BASE + V4L2LOOPBACK_EVENT_OFFSET + 1)
|
|
|
|
struct v4l2_event_client_usage {
|
|
__u32 count;
|