msdkdec: use video memory if there's another MSDK context in a pipeline
authorHyunjun Ko <zzoon@igalia.com>
Tue, 13 Feb 2018 22:53:02 +0000 (13:53 -0900)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Tue, 13 Feb 2018 22:53:02 +0000 (13:53 -0900)
commit72c6cd55453fd913ca0fb60192ef649b290bc187
tree6c87379e68a7ee539617bd994c54b1dbadd906c7
parent375a50a876f028d967532a84e745fbd38a983299
msdkdec: use video memory if there's another MSDK context in a pipeline

1\ If downstream's pool is MSDK bufferpool,
2\ If there's shared GstMsdkContext in the pipeline,

a decoder decides to use video memory.

This policy should be improved to handle more cases.

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