omxvidee{enc,dec}: refresh input port definition after setting format
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 28 May 2018 13:02:13 +0000 (15:02 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 8 Jun 2018 07:38:57 +0000 (09:38 +0200)
commit338ff34e5ea5527475d7e56d71f13a422ad31620
treed666ca46e4532e8e7fa83ea028aea2fa13049517
parent3498f81d1f40fbda563863f2fc41d20e85c15907
omxvidee{enc,dec}: refresh input port definition after setting format

Setting the input format and the associated encoder/decoder settings
may also affect the nBufferCountMin of the input port.
Refresh the input port so we'll use up to date values in propose/decide
allocation.

https://bugzilla.gnome.org/show_bug.cgi?id=796445
omx/gstomxvideodec.c
omx/gstomxvideoenc.c