[Bug 795173] New: kms: kmsbufferpool won't return false, when the input size won't apply to it

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Apr 11 20:53:41 UTC 2018


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

            Bug ID: 795173
           Summary: kms: kmsbufferpool won't return false, when the input
                    size won't apply to it
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: ayaka at soulik.info
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

The kmsbufferpool will the use its priv->vinfo to alloc a buffer.
The priv->vinfo comes from the caps in the gst_kms_buffer_pool_set_config(),
parsed from the input bufferpool config.

The size parameters in bufferpool config won't parsed, even it did in the
set_config(), it won't apply to the bufferpool as well.

As I said, the kmsbufferpool would use its' priv->vinfo to make a buffer, while
the size filed from that GstVideoInfo is ignored. The kmsbufferpool would use
the width, height and video pixel format information to calculate the reuqest
size to the kernel's drm interface, then using the feedback size from the
kernel to update  the size filed in its priv->vinfo.

When I apply a size parameter for the kmsbufferpool, it won't take effect at
all, so the changing configure of the kmsbufferpool is not success at this
time. It should returen an negative result(return FALSE).

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