msdk: dec: reset async depth to one
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Mon, 7 May 2018 22:11:14 +0000 (14:11 -0800)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Mon, 7 May 2018 22:11:14 +0000 (14:11 -0800)
commit978bcf8aa634e462ef7c5489b524ad77dd770597
tree8949ad46c82ea96f653c70fd8b014918091221d7
parent2308c9555a1e12ed1df18ac2dd5f9faf3a98986b
msdk: dec: reset async depth to one

Currently we use an async depth of 4 as default (based on
recommendations
in msdk apps), which indicates how many asynchronous operations an
application performs
before the application explicitly synchronizes the result. As a result,
we
queue four frames in decoder which might not be good approach for
live streaming.

This patch reset the async-depth to 1 as default so that we do sync for
each frame we decode without queuing. Customer can play with already
exposed "async-depth" property for other use cases

https://bugzilla.gnome.org/show_bug.cgi?id=795783
sys/msdk/gstmsdkdec.c