amc/videodec: only retrieve the stride/slice-height for raw output
authorMatthew Waters <matthew@centricular.com>
Tue, 19 May 2020 04:58:35 +0000 (14:58 +1000)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 21 May 2020 12:40:21 +0000 (12:40 +0000)
commit8403d97587a9ee543dac30d5fca0c4d8c1811380
tree9c1d62fb6c8cb1dac0c42a5e790216a365836b8a
parent3f16353d6455a32b0a49d2aa6ac41f8df4766ea9
amc/videodec: only retrieve the stride/slice-height for raw output

When outputting to a surface, these values may not exist.

As found on a Google Pixel 3.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1284>
sys/androidmedia/gstamcvideodec.c