[Bug 768264] amcvideodec: Expose non-GL formats on Lollipop+

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jul 1 05:05:19 UTC 2016


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

--- Comment #2 from Olivier CrĂȘte <olivier.crete at ocrete.ca> ---
Created attachment 330693
  --> https://bugzilla.gnome.org/attachment.cgi?id=330693&action=edit
androidmedia: Check decoder formats directly if possible

On Android Lollipop and newer, it is possible to call configure() and
then get the output format directly. The configure() call only needs the
mime type and the resolution. If we assume that the color format will be
the same at any resolution, then we can just create a "fake" 640x480
color format and then use that to get the color format that the decoder
will really produce. This should make it safe to enable non-GL output
even when the decoder also exposes private formats.

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