msdkvpp: Disable passthrough if memory capsfeature changes
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Mon, 30 Apr 2018 20:40:32 +0000 (12:40 -0800)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Mon, 30 Apr 2018 20:40:32 +0000 (12:40 -0800)
commite1a90f1ec998619e1b5321112e95e0d9593ab1a7
tree36ef8b9c0f4aeecc1f01b51d2640e75b3a34d2a7
parentef6e186801fe664e5c22281f0a5d6f98176b3607
msdkvpp: Disable passthrough if memory capsfeature changes

So far msdk produced dmabuf fds are non-mappable.
If user wants to download the content of underlined surfaces,
dmabufcapsfeature negotiated pipeline will fail. So if the input surface
is dmabuf and downstream doesn't have support for dmabuf capsfeatures,
we do the vpp (no passthrough) and produce the mappable videomemory
buffers.

https://bugzilla.gnome.org/show_bug.cgi?id=794946
sys/msdk/gstmsdkvpp.c
sys/msdk/gstmsdkvpp.h