Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge main into develop #594

Open
wants to merge 163 commits into
base: develop
Choose a base branch
from

Conversation

vicamo
Copy link
Contributor

@vicamo vicamo commented Sep 9, 2024

An attempt to sync development in main branch back to develop branch.

umlaeute and others added 30 commits August 5, 2022 18:42
@TheArcaneBrony reported this happening when building the `v4l2loopback`
as a built-in:

```
drivers/media/v4l2-core/v4l2loopback.c:2969:13: error: use of undeclared identifier 'v4l2loopback_cleanup_module'; did you mean 'v4l2loopback_init_module'?
```

The reason for this is that 550c240 introduced extra `ifdef MODULE`
around `v4l2loopback_cleanup_module()`, but subsequently 1fcd767
opted into using `module_init()`/`module_exit()` instead, which made
the `ifdef` excessive.

Hence, remove extra `ifdef MODULE`.

Fixes: 1fcd767 ("use module_init()/module_exit() rather than '#ifdef MODULE'")
Reported-by: The Arcane Brony <[email protected]>
Tested-by: The Arcane Brony <[email protected]>
Signed-off-by: Oleksandr Natalenko <[email protected]>
also print the hex-representation.
and align the table.

Closes: umlaeute#510
Introduce the device reference counter. If the V4L2_BUF_TYPE_VIDEO_CAPTURE
is called, the reference counter is increased. Also, it will be decreased
when the device is closed.

Signed-off-by: Kate Hsuan <[email protected]>
Add V4L2_EVENT_PRI_CLIENT_USAGE event to report the current device reference count.
When the device is opened, closed, and stream on/off, the event will be sent to the
application to perform the necessary actions against the event.

Signed-off-by: Kate Hsuan <[email protected]>
It could happen that position increments overflow after a long time of
operation. Signed integer overflows are undefined behaviour. In this
case they also lead to illegal index values and subsequent out of
boundary access.

Reviewed-by: Benny Baumann <[email protected]>
Signed-off-by: Tobias Stoeckmann <[email protected]>
The original ID of V4L2_EVENT_PRI_CLIENT_USAGE is V4L2_EVENT_PRIVATE_START.
To prevent misunderstanding between V4L2_EVENT_PRI_CLIENT_USAGE and
V4L2_EVENT_PRIVATE_START, the new ID of V4L2_EVENT_PRI_CLIENT_USAGE is
(V4L2_EVENT_PRIVATE_START+0x08E00000+1)

Signed-off-by: Kate Hsuan <[email protected]>
and make it overridable with SNAPSHOT_VERSION
instead of our own STRINGIFY2
IOhannes m zmölnig and others added 30 commits March 19, 2024 21:46
the version is now in v4l2loopback.h
This changes the dkms configuration to only build the kernel module, not
the utils, i.e. v4l2loopback-ctl.
why is the compiler not emitting a warning?
Released 0.13.0
Released 0.13.1
Released 0.13.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.