decoder: make gst_vaapi_decoder_get_codec_state() return the original state.
authorGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 15 Apr 2013 11:58:58 +0000 (13:58 +0200)
committerGwenole Beauchesne <gwenole.beauchesne@intel.com>
Mon, 15 Apr 2013 11:58:58 +0000 (13:58 +0200)
commit1790823ed48ce6f9b3e3347b0b10b348f5a0f2ae
tree34a3ea1422e0d5016531fdc83290ab91da70dc39
parent55b3053b886e5256500886bb593a903364c61103
decoder: make gst_vaapi_decoder_get_codec_state() return the original state.

Make gst_vaapi_decoder_get_codec_state() return the original codec state,
i.e. make the GstVaapiDecoder object own the return state so that callers
that want an extra reference to it would just gst_video_codec_state_ref()
it before usage. This aligns the behaviour with what we had before with
gst_vaapi_decoder_get_caps().

This is an ABI incompatible change, library major version was bumped from
previous release (0.5.2).
gst-libs/gst/vaapi/gstvaapidecoder.c
gst/vaapi/gstvaapidecode.c