[Bug 742918] v4l2: Add decoder and converter element with RW device property

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Mar 10 09:16:31 PDT 2015


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

--- Comment #12 from Philipp Zabel <p.zabel at pengutronix.de> ---
Created attachment 299020
  --> https://bugzilla.gnome.org/attachment.cgi?id=299020&action=edit
v4l2: Add generic v4l2convert element

v4l2: Add generic v4l2convert element

Instead of only creating device-specific convert elements as subclasses
of GstV4l2Transform, allow instantiating former abstract base class
GstV4l2Transform directly as a generic convert element.
The specific device can be passed using the 'device' property.

For this purpose the base classes 'device' property was given the read/write
flag and device-specific subclasses overwrite this property with a
read-only 'device' property set to the respecitve device path.

This eases constructing pipelines in scripts and allows to use
fixed '/dev/video/by-name/..' device paths.

Example usage:
gst-launch [..] ! v4l2convert device=/dev/video1 ! [..]

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