lp:~vicamo/ubuntu/+source/v4l2loopback/+git/v4l2loopback

Owned by You-Sheng Yang
Get this repository:
git clone https://git.not.enabled/~vicamo/ubuntu/+source/v4l2loopback/+git/v4l2loopback
Only You-Sheng Yang can upload to this repository. If you are You-Sheng Yang please log in for upload directions.

Branches

Name Last Modified Last Commit
bug-2025204/fixup-bytesused/jammy 2023-07-04 14:26:48 UTC
Bug 2025204: v4l2loopback: Fixup bytesused field when writer sends a too larg...

Author: You-Sheng Yang
Author Date: 2023-07-04 09:36:38 UTC

Bug 2025204: v4l2loopback: Fixup bytesused field when writer sends a too large value

bug-2025204/fixup-bytesused/lunar 2023-07-04 09:58:00 UTC
Bug 2025204: v4l2loopback: Fixup bytesused field when writer sends a too larg...

Author: You-Sheng Yang
Author Date: 2023-07-04 09:36:38 UTC

Bug 2025204: v4l2loopback: Fixup bytesused field when writer sends a too large value

bug-2025204/fixup-bytesused/mantic 2023-07-04 09:51:24 UTC
Bug 2025204: v4l2loopback: Fixup bytesused field when writer sends a too larg...

Author: You-Sheng Yang
Author Date: 2023-07-04 09:36:38 UTC

Bug 2025204: v4l2loopback: Fixup bytesused field when writer sends a too large value

accumulative-fixes 2023-07-04 07:56:19 UTC
v4l2loopback: Fixup bytesused field when writer sends a too large value

Author: Hans de Goede
Author Date: 2023-05-08 10:08:12 UTC

v4l2loopback: Fixup bytesused field when writer sends a too large value

Gstreamer's v4l2sink is known to submit buffers with bytesused set to
the length of the buffer instead of the size of the actual image-data
within the buffer which is typically smaller due to buffer sizes
being rounded op to a page-size:

https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/2532

Despite this being a long standing issue and their being 2 merge-reqs:

https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3713
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4527

to try and fix this it looks like this is not going to get fixed
in gst's v4l2sink anytime soon and even if once it is fixed many users
will likely be using an older v4l2sink which still has this bug.

These buffers with a too large bytes used value are causing issues
with various apps which reject these buffers when reading from
the v4l2loopback device, such as e.g. ffmpeg and firefox.

Add a pix_format_has_valid_sizeimage flag which gets set from
vidioc_s_fmt_out() if dev->pix_format.sizeimage is known to have just
been set to a valid, fixed size (so this e.g. won't be set for MJPG).

And then fix this issue by making vidioc_qbuf() truncate
V4L2_BUF_TYPE_VIDEO_OUTPUT buffer's bytes_used value to
dev->pix_format.sizeimage when this flag is set.

Closes #190
Closes #448
Obsoletes #435

(cherry picked from commit 175adaf96d6d3784b922d3e0c77e9fd3e9ad8f53)
Signed-off-by: You-Sheng Yang <vicamo@gmail.com>

bug-1970983/ftbfs-5.18-no-CONFIG_VIDEO_V4L2/devel 2022-05-03 03:56:22 UTC
Bug 1970983: Check CONFIG_VIDEO_DEV against kernel version >= 5.18

Author: You-Sheng Yang
Author Date: 2022-05-03 03:56:22 UTC

Bug 1970983: Check CONFIG_VIDEO_DEV against kernel version >= 5.18

bug-1921474/support-client-usage-v4l2-event-api/focal 2021-12-29 09:35:44 UTC
Bug 1921474: backport patches necessary for IPU6 camera

Author: You-Sheng Yang
Author Date: 2021-12-29 09:35:44 UTC

Bug 1921474: backport patches necessary for IPU6 camera

bug-1930208/fix-coverity-bugs/impish 2021-07-09 10:08:51 UTC
coverity: fix various issues found

Author: You-Sheng Yang
Author Date: 2021-05-31 10:03:16 UTC

coverity: fix various issues found

ubuntu/hirsute 2021-03-29 10:25:41 UTC
Bug 1921474: Support client usage notification via V4l2 Event API

Author: You-Sheng Yang
Author Date: 2021-03-29 09:10:49 UTC

Bug 1921474: Support client usage notification via V4l2 Event API

bug-1921474/support-client-usage-v4l2-event-api/hirsute 2021-03-29 10:25:41 UTC
Bug 1921474: Support client usage notification via V4l2 Event API

Author: You-Sheng Yang
Author Date: 2021-03-29 09:10:49 UTC

Bug 1921474: Support client usage notification via V4l2 Event API

ubuntu/devel 2021-03-29 10:25:41 UTC
Bug 1921474: Support client usage notification via V4l2 Event API

Author: You-Sheng Yang
Author Date: 2021-03-29 09:10:49 UTC

Bug 1921474: Support client usage notification via V4l2 Event API

ubuntu/focal 2021-03-29 09:46:28 UTC
import ubuntu 0.12.3-1ubuntu0.3

Author: You-Sheng Yang
Author Date: 2021-03-29 09:46:28 UTC

import ubuntu 0.12.3-1ubuntu0.3

debian/master 2020-07-13 19:23:34 UTC
Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, Repositor...

Author: Debian Janitor
Author Date: 2020-07-13 19:23:34 UTC

Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, Repository-Browse.

Changes-By: lintian-brush
Fixes: lintian: upstream-metadata-file-is-missing
See-also: https://lintian.debian.org/tags/upstream-metadata-file-is-missing.html
Fixes: lintian: upstream-metadata-missing-bug-tracking
See-also: https://lintian.debian.org/tags/upstream-metadata-missing-bug-tracking.html
Fixes: lintian: upstream-metadata-missing-repository
See-also: https://lintian.debian.org/tags/upstream-metadata-missing-repository.html

ubuntu/groovy 2020-04-22 14:36:42 UTC
Ready for upload to unstable.

Author: IOhannes m zmölnig
Author Date: 2020-04-22 14:36:42 UTC

Ready for upload to unstable.

debian/upstream 2020-04-22 14:35:30 UTC
New upstream version 0.12.5

Author: IOhannes m zmölnig
Author Date: 2020-04-22 14:35:30 UTC

New upstream version 0.12.5

114 of 14 results
This repository contains Public information 
Everyone can see this information.

Subscribers