plugins: factor out construction of template caps.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Sat, 21 Dec 2013 09:41:22 +0000 (10:41 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Sat, 21 Dec 2013 11:35:24 +0000 (12:35 +0100)
commit113bd3a5f296086b618748950b36d51ff11efc98
tree782f2acd17c8391e34eda4296cee541ddff183cc
parent528b5adc5a488cf3175b5334062bf18bb91a77e1
plugins: factor out construction of template caps.

Add new helper functions to build video template caps.
- gst_vaapi_video_format_new_template_caps():
  create GstCaps with size, frame rate and PAR to full range
- gst_vaapi_video_format_new_template_caps_from_list():
  try to create a "simplified" list from the supplied formats
gst/vaapi/gstvaapidownload.c
gst/vaapi/gstvaapipluginutil.c
gst/vaapi/gstvaapipluginutil.h
gst/vaapi/gstvaapiuploader.c