androidmedia: Permit Codec surface to be NULL
authorJan Schmidt <jan@centricular.com>
Wed, 5 Feb 2020 10:13:49 +0000 (21:13 +1100)
committerJan Schmidt <jan@centricular.com>
Sat, 8 Feb 2020 15:19:12 +0000 (02:19 +1100)
commitcfe318ea03c36293dc6aec951f7e9014c8aa5912
tree147c89e254c7d7f971b1aea1dc46b1289100e7be
parent916966606b903135ea68d68aba8abd31cb236e52
androidmedia: Permit Codec surface to be NULL

The AMC encoder wrapper doesn't support input surfaces yet,
and passes NULL when configuring the underlying codec.

This was broken in commit 7fcf3e
Fixes https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/1102
sys/androidmedia/jni/gstamc-codec-jni.c