libs: dec: vp9: do not use display size as decoded size
authorWang Zhanjun <zhanjunx.wang@intel.com>
Mon, 24 Jun 2019 20:26:56 +0000 (16:26 -0400)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 28 Jun 2019 16:42:42 +0000 (18:42 +0200)
commit958ea067cb9bb45a276cbbd16da919c6e191fbab
treec37700da96daf9491fb668a05cb9ad5e7051f0c6
parentabc2545c60c45ebee48d4902f10be097a8ee3c20
libs: dec: vp9: do not use display size as decoded size

If display size is smaller than current frame size, then the crop size
will be set as display size, which either crashes the pipeline or the
output MD5 does not match. Rather it should use the actual decoded size.

This patch removes the cropping set. For rendering we can use aspect
ratio to set display size.

Fixes #175

Signed-off-by: Wang Zhanjun <zhanjunx.wang@intel.com>
Signed-off-by: Xu Guangxin <guangxin.xu@intel.com>
gst-libs/gst/vaapi/gstvaapidecoder_vp9.c