vaapivideomemory: fix determination of the surface pool format.
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Thu, 3 Jul 2014 15:41:11 +0000 (18:41 +0300)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 23 Jul 2014 16:48:32 +0000 (18:48 +0200)
commit9cb3acc813320aad072672296b5af168badf82a0
tree741502afac70e865e370f1dd99d2605f975df558
parentb07de8a7f986275599db4a0177d659a3e882bcff
vaapivideomemory: fix determination of the surface pool format.

While creating the vaapi video allocator, make sure the associated
surface pool has correct format instead of defaulting to NV12 video
format even though there is no direct rendering support.

https://bugzilla.gnome.org/show_bug.cgi?id=732691
gst/vaapi/gstvaapivideomemory.c