vaapivideomemory: minor code clean-ups.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 23 Jul 2014 21:49:53 +0000 (23:49 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Wed, 23 Jul 2014 21:53:15 +0000 (23:53 +0200)
commitf2ce28e4b78afc37da0771bda3830eaa02adef85
tree5ab24507504431e2f9daf90d6ae689005ca1048e
parent9cad85a93649b1b6da6084b85f807139e84a41a4
vaapivideomemory: minor code clean-ups.

Fix error messages introduced in the previous commit for the _map()
imaplementation. Also use the new get_image_data() helper function
to determine the base pixels data buffer from a GstVaapiImage when
updating the video info structure from it.
gst/vaapi/gstvaapivideomemory.c