[Bug 763321] Failed to play VAAPI HW JPEG decode for video clip with codec ID: MJPG

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Mar 10 15:28:51 UTC 2016


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

--- Comment #8 from sreerenj <bsreerenj at gmail.com> ---
In theory, Hi and Vi can have values from 1 to 4 as per Jpeg Spec. And there
could be other samples like this (with  different h_factor/v_facotr) which are
not decodable with the driver.

How about a more generalized approach:
-- write utility function to get the chroma_format
(SUBSAMPLE_YUV420,SUBSAMPLE_YUV422H etc) from h_factor/v_factor
-- if chromat_format != any of the GST_VAAPI_CHROMA_TYPE_* then return
GST_VAAPI_DECODER_STATUS_ERROR_UNSUPPORTED_CHROMA_FORMAT

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