diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2014-01-10 10:54:22 +0100 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2014-01-13 17:31:55 +0100 |
commit | 5394c75461073a83f28bc92060977f334f034191 (patch) | |
tree | a6839085e8d2aaed671e8e2f4aabffddacad9709 /gst-libs/gst/vaapi/gstvaapiencoder.h | |
parent | 2c4fde0eae02383a9780e8e87ce1e3d442bf80ce (diff) | |
download | gst-vaapi-5394c75461073a83f28bc92060977f334f034191.tar.gz |
encoder: add video codec-state API.
Add interface to communicate the encoder resolution and related info
like framerate, interlaced vs. progressive, etc. This new interface
supersedes gst_vaapi_encoder_set_format() and doesn't use any GstCaps
but rather use GstVideoCodecState.
Note that gst_vaapi_encoder_set_codec_state() is also a synchronization
point for codec config. This means that the encoder is reconfigured
there to match the latest properties.
Diffstat (limited to 'gst-libs/gst/vaapi/gstvaapiencoder.h')
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapiencoder.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapiencoder.h b/gst-libs/gst/vaapi/gstvaapiencoder.h index a4dbe3ad..8f6e6ae1 100644 --- a/gst-libs/gst/vaapi/gstvaapiencoder.h +++ b/gst-libs/gst/vaapi/gstvaapiencoder.h @@ -106,9 +106,9 @@ GstVaapiEncoderStatus gst_vaapi_encoder_get_codec_data (GstVaapiEncoder * encoder, GstBuffer ** out_codec_data_ptr); -GstCaps * -gst_vaapi_encoder_set_format (GstVaapiEncoder * encoder, - GstVideoCodecState * state, GstCaps * ref_caps); +GstVaapiEncoderStatus +gst_vaapi_encoder_set_codec_state (GstVaapiEncoder * encoder, + GstVideoCodecState * state); GstVaapiEncoderStatus gst_vaapi_encoder_set_property (GstVaapiEncoder * encoder, gint prop_id, |