[Bug 733827] v4l2videodec: Add pixel format negotiation support

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Mar 27 08:07:53 PDT 2015


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

--- Comment #6 from Philipp Zabel <p.zabel at pengutronix.de> ---
The coda can decode h.264 into either I420 or NV12, but currently only I420 can
be used because v4l2videodec never calls S_FMT(CAP) with a format negotiated
with the src pad peer.

I need to do (roughly) the following:
1. S_FMT(OUT)
2. REQBUFS(OUT)
3. STREAMON(OUT)
4. QBUF(OUT)
5. G_FMT(CAP)
6. ENUM_FMT(CAP) <- chose one of these formats depending on src pad peer
7. S_FMT(CAP)
8. REQBUFS(CAP)
9. STREAMON(CAP)
The v4l2videodec element currently doesn't to 6. and 7., which this patch
intends to add. I can't use the cached probed_caps in place of 6. because the
driver may have disabled some formats depending on the encoded data.

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