vaapiencode: move common properties to base class.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 28 Nov 2013 12:26:40 +0000 (13:26 +0100)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Thu, 28 Nov 2013 13:05:33 +0000 (14:05 +0100)
commitd759fe34e68bd03ee6e93acb76d12aefaa7aed75
tree38fb7c4588fb41944653ba61e0b60eb62bcd114f
parent1a4b3c3b220fc2f2de0d898bca93562c4fad46db
vaapiencode: move common properties to base class.

Move "rate-control" mode and "bitrate" properties to the GstVaapiEncode
base class. The actual range of supported rate control modes is currently
implemented as a plug-in element hook. This ought to be determined from
the GstVaapiEncoder object instead, i.e. from libgstvaapi.
gst/vaapi/gstvaapiencode.c
gst/vaapi/gstvaapiencode.h
gst/vaapi/gstvaapiencode_h264.c
gst/vaapi/gstvaapiencode_h264.h
gst/vaapi/gstvaapiencode_mpeg2.c
gst/vaapi/gstvaapiencode_mpeg2.h