plugins: factor out construction of GValue from GstVideoFormat.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Sat, 21 Dec 2013 05:41:34 +0000 (06:41 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Sat, 21 Dec 2013 11:35:24 +0000 (12:35 +0100)
commit528b5adc5a488cf3175b5334062bf18bb91a77e1
tree9fece72c78ee7052008422e234a4e24b97b85cb2
parentb80257389d4c7ce2f1ea77de70f283c2f0bbcc3b
plugins: factor out construction of GValue from GstVideoFormat.

Add new helper functions to build GValues from GstVideoFormat:
- gst_vaapi_value_set_format():
  build a GValue from the supplied video format
- gst_vaapi_value_set_format_list():
  build a GValue list from the supplied array of video formats
gst/vaapi/gstvaapipluginutil.c
gst/vaapi/gstvaapipluginutil.h
gst/vaapi/gstvaapipostproc.c