libs: encoder: h265: ensures profile given format
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Wed, 29 Mar 2017 17:16:50 +0000 (19:16 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Thu, 6 Apr 2017 20:00:05 +0000 (22:00 +0200)
commit48e21d6ba88496d0ffb9fa578778c949393225f4
treee76a32176f5945098505103720b989321a0f4e4a
parente534ff56097d0ec7ccba1c3cb760163933cc98e7
libs: encoder: h265: ensures profile given format

Set the VA profile as GST_VAAPI_PROFILE_H265_MAIN10 if the
configured color format is P010_10LE.

Otherwise, keep GST_VAAPI_PROFILE_H265_MAIN

https://bugzilla.gnome.org/show_bug.cgi?id=771291
gst-libs/gst/vaapi/gstvaapiencoder_h265.c