vaapidecode: Derive and save the decoded surface format
authorSreerenj Balachandran <sreerenj.balachandran@intel.com>
Thu, 24 Mar 2016 13:09:15 +0000 (15:09 +0200)
committerSreerenj Balachandran <sreerenj.balachandran@intel.com>
Thu, 24 Mar 2016 13:09:15 +0000 (15:09 +0200)
commit6b17ed90601e3849c657d9c233f247cff744d3f6
treef7b6948317d82a24bf0557c8057beab16f35ca27
parent859a2b2f4f15fda98fd831555295f37f0db07802
vaapidecode: Derive and save the decoded surface format

After the decoding of first frame, try to extract the exact
decoded surface format using vaDeriveImage and keep this
as the format in decoded_info.

https://bugzilla.gnome.org/show_bug.cgi?id=753914
gst/vaapi/gstvaapidecode.c