-
Notifications
You must be signed in to change notification settings - Fork 539
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
vicamo
wants to merge
163
commits into
umlaeute:develop
Choose a base branch
from
vicamo:for-upstream/merge-main-into-develop
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
merge main into develop #594
vicamo
wants to merge
163
commits into
umlaeute:develop
from
vicamo:for-upstream/merge-main-into-develop
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
An attempt to sync development in main branch back to develop branch.