[Bug 733827] v4l2videodec: Add pixel format negotiation support

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Mar 27 01:45:38 PDT 2015


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

--- Comment #4 from Philipp Zabel <p.zabel at pengutronix.de> ---
Currently I have not implemented ENUM_FMT(CAP) returning only a limited
selection after STREAMON(OUT), mostly because only JPEG decoding (not mainline
ready yet) needs it. S_FMT/TRY_FMT(CAP) limit the size to a single setting.

Would your suggestin be to clear the cache not before calling
gst_v4l2_object_get_caps(v4l2capture), but instead after
gst_buffer_pool_set_active(v4l2output->pool)? That's where the JPEG decoder
will know whether it was fed 4:2:2 or 4:2:0 subsampled JPEG images, just a few
lines above.

Should I add back the call to gst_v4l2_object_acquire_format(v4l2capture) and
then use the returned width and height to limit the filter like the framerate?

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