[Bug 773473] New: kmssink: support display mode setting

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Oct 25 13:14:03 UTC 2016


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

            Bug ID: 773473
           Summary: kmssink: support display mode setting
    Classification: Platform
           Product: GStreamer
           Version: 1.9.90
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: m.tretter at pengutronix.de
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

The kmssink relied on another application for setting the display mode of the
connector. It would be more convenient if the kmssink would take care of the
mode setting if there is no active display mode.

The proposed patches extend the kms sink with mode setting capabilities. If no
display mode has been activated, the kmssink reports the supported modes via
allowed caps and, after negotiation with upstream it, sets the display mode
according to the negotiated caps.

If the size of the video does not match a supported display mode, the
negotiation fails. I did not want to assume an expected behavior for this case,
but leave scaling or cropping to other elements in the pipeline.

The patch set also removes the use of the kmslib, because the kmslib limits the
allocation of drm buffer objects. For example, buffer objects returned by
kmslib always use 32 bpp. This is also kind of related to bug 766468.

Could you please review the patches and give feedback if the mode setting
functionality makes sense.

It was tested on a Freescale i.MX6 board.

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