vaapipostproc: don't use GstVideoInfo for src caps
authorScott D Phillips <scott.d.phillips@intel.com>
Fri, 6 May 2016 08:50:10 +0000 (10:50 +0200)
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>
Mon, 9 May 2016 14:57:02 +0000 (16:57 +0200)
commit4d1b11ed03759ef702c675cbacdb5ea543daa305
tree0315b400542812632c7aa018824cc6a9dcb9d303
parent1901e2231be53c23936d9a236c34c0812a0cfbdb
vaapipostproc: don't use GstVideoInfo for src caps

Instead of using gst_video_info_to_caps () to generated the fixed src caps,
this patch enables the first step for caps negotiation with a possible
following caps filter.

_get_preferred_caps() will traverse the possible src caps looking for the one
wit the preferred feature and the preferred color format. Then the color
format, the frame size and the frame rate are fixated.

https://bugzilla.gnome.org/show_bug.cgi?id=758548
gst/vaapi/gstvaapipostprocutil.c