[Bug 761165] Setting overlay parameters on v4l2sink fails

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 6 19:26:52 UTC 2016


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

Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicolas at ndufresne.ca

--- Comment #2 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
(In reply to Andreas Naumann from comment #0)
> Now, the gstreamer v4l2sink does need a TX device doesnt it? So with current
> kernels, the video-overlay ioctls cant ever work, or what am I missing?

This v4l2sink was written by TI. On their platform hey had created a TX that
had the overlay interface. This is not according to the spec, and not what the
overlay is meant for. They also had X11 extension to that, which we remove as
it was hard to support.

> 
> Digging further I came across another type, that is
> V4L2_BUF_TYPE_VIDEO_OUTPUT_OVERLAY. This is per API doc intended for output
> and shares the data structures for S/G_FMT ioctls with
> V4L2_BUF_TYPE_VIDEO_OVERLAY. So I tried telling my driver that he supports
> such an interface and redirected the existing s/g_fmt function pointers (as
> I saw in some other implementation, I think omap).
> On v4l2sink side its a oneliner to change to using that interface (
> gst_v4l2sink_sync_overlay_fields()).

You seem to guess correctly.

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