[Bug 733827] v4l2videodec: Add pixel format negotiation support

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 26 07:55:02 PDT 2015


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

Philipp Zabel <p.zabel at pengutronix.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |p.zabel at pengutronix.de

--- Comment #1 from Philipp Zabel <p.zabel at pengutronix.de> ---
Created attachment 300358
  --> https://bugzilla.gnome.org/attachment.cgi?id=300358&action=edit
v4l2: videodec: choose format from caps

Instead of just copying the format and frame size, query the peer caps filtered
with the current v4l2 capture queue caps and set that format on the capture
queue.

I'm unsure about two things. First, the v4l2capture->probed_caps (cached since
device open) are useless because the currently available caps are already
limited by the encoded stream format. I drop the cache and then call
gst_v4l2_object_get_caps - this should be done better, how?
Second, gst_caps_fixate choses the smallest possible values for width and
height, when usually the frame size on the input side should be preferred.

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