[Bug 742917] v4l2: Allow scaling in the v4l2*convert element

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Apr 14 00:33:04 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=742917

--- Comment #10 from Enrico Jorns <ejo at pengutronix.de> ---
(In reply to Nicolas Dufresne (stormer) from comment #7)
> The problem is that we need to only suggest things that are possible in our
> transform caps call. Failing trying to do something that is not supported is
> not acceptable. There could be an element downstream the do scale correctly.
> 
> If V4L2 don't tell us that, we should at least create a white list.

Yes, afaik there is no straight way to test if a v4l2 m2m device supports
scaling. But this is the same for color conversion capability. Thus if we had a
device that could scale but not convert color space, the current approach might
fail, too.
In the current kernel there should be no driver that supports colorspace
conversion only. So imho this patch should not make things worse.

But yes, in general this is a problem to be solved.

I've attached a modified version of the patch that adds the "Scalar" hint.

-- 
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