vaapidecode: don't error if can't push buffers downtream
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 31 May 2019 11:12:35 +0000 (13:12 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Fri, 26 Jul 2019 10:40:01 +0000 (12:40 +0200)
commitec9a2a4b4e2ca5cfb91c633a7dbf70d27c98c039
tree8b5a841f5bf690d8fd8174506d62c61c7daf6b3c
parent8b8dfb127a7d8d9e84c749b6a4b9c2ed12338e29
vaapidecode: don't error if can't push buffers downtream

When the code path goes to push buffers downstream when no surface
available in decoder context, and it fails the code bails out with a
fatal error.

That behavior is wrong, since it shouldn't be fatal. The use case is
when the video stream is disabled.

This patch just ignores the errors in this situation and demotes the
level of a log message.
gst/vaapi/gstvaapidecode.c