[Bug 785967] videoenc/dec : delay input buffers allocation until first buffer is received

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Aug 7 21:05:29 UTC 2017


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

--- Comment #5 from Guillaume Desmottes <gdesmott at gnome.org> ---
Created attachment 357154
  --> https://bugzilla.gnome.org/attachment.cgi?id=357154&action=edit
omxvideodec/enc: delay allocation after the allocation query

Allocating OMX components buffers in set_format() is too early.
Doing it when receiving the first buffers will allow the element to use
the information from the allocation query and/or the first incoming
buffer to pick to best allocation mode.

Tested on raspberry pi with dynamic resolution changes on decoder and
encoder input.

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