[Bug 790979] omxvideodec: retrieve OMX_IndexParamVideoPortFormat before setting it

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Nov 29 13:21:28 UTC 2017


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

--- Comment #1 from Guillaume Desmottes <gdesmott at gnome.org> ---
Created attachment 364617
  --> https://bugzilla.gnome.org/attachment.cgi?id=364617&action=edit
omxvideodec: retrieve OMX_IndexParamVideoPortFormat before setting it

The usual pattern when setting OMX params is to first get the struct
param, override the values we want to set and then set the updated
param.
We were not doing this with OMX_IndexParamVideoPortFormat and so were
resetting some fields such as OMX_VIDEO_PARAM_PORTFORMATTYPE.xFramerate

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