vaapidecode: add support for VideoAlignment bufferpool option.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 25 Jul 2014 13:52:06 +0000 (15:52 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Fri, 25 Jul 2014 13:52:06 +0000 (15:52 +0200)
commitcafb25c4d1e7f6203a8756227eb4e24f524d3959
tree8dbdfdf0ce06fba62503437340d88c94cf64c92c
parent1d1be0ae76d92babf8ffd9fd8d1d2bff48996ddd
vaapidecode: add support for VideoAlignment bufferpool option.

Always add VideoAlignment bufferpool option if the downstream element
expects its own pool to be used but does not offer it through a proper
propose_allocation() implementation for instance, and that the ALLOCATION
query does not expose the availability of the Video Meta API.

This fixes propagation of video buffer stride information to Firefox.
gst/vaapi/gstvaapidecode.c
gst/vaapi/gstvaapivideobufferpool.c