[Bug 784908] New: v4l2videodec: Implement stable naming scheme for elements

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 13 13:48:07 UTC 2017


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

            Bug ID: 784908
           Summary: v4l2videodec: Implement stable naming scheme for
                    elements
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: Normal
         Component: gst-plugins-good
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: m.tretter at pengutronix.de
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

Implement stable names for the v4l2videodec elements similar to the naming
scheme of the v4l2videoenc elements. The first element for a codec will be
named v4l2<codec>dec and the video node name will only be added, if there are
multiple v4l2 devices that implement the same codecs.

This naming scheme was suggested in
https://bugzilla.gnome.org/show_bug.cgi?id=742918.

There should be one subclass of v4l2videodec per codec, which would also allow
to implement codec specific code in a subclass instead of mangling it into the
v4l2videodec class. Right now, the new elements are only boilerplate and a
function to check if the subclass should be registered for a v4l2 device.

Note that multiple elements per v4l2 device might be registered if the v4l2
device supports multiple codecs. Moreover, there will still always be a
v4l2videoXdec element to support codecs that don't have their own subclass,
yet. It would be cool, if the fallback would only trigger if there are any
unsupported codecs left, but all my implementations were really dirty.

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