diff options
author | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2013-04-15 14:22:57 +0200 |
---|---|---|
committer | Gwenole Beauchesne <gwenole.beauchesne@intel.com> | 2013-04-15 14:22:57 +0200 |
commit | 8cce65c6f1314f824a8a3ea5a995f983cf4d059f (patch) | |
tree | 5b4be622650b536bd339fe69aaedd7e0e2483846 /gst-libs | |
parent | 1790823ed48ce6f9b3e3347b0b10b348f5a0f2ae (diff) |
decoder: fix gst_vaapi_decoder_get_codec_state().
Fix previous commit whereby gst_vaapi_decoder_get_codec_state() was
supposed to make GstVaapiDecoder own the return GstVideoCodecState
object. Only comment was updated, not the actual code.
Diffstat (limited to 'gst-libs')
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapidecoder.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder.c b/gst-libs/gst/vaapi/gstvaapidecoder.c index 35294c66..ccd4f773 100644 --- a/gst-libs/gst/vaapi/gstvaapidecoder.c +++ b/gst-libs/gst/vaapi/gstvaapidecoder.c @@ -623,7 +623,7 @@ gst_vaapi_decoder_get_codec_state(GstVaapiDecoder *decoder) { g_return_val_if_fail(GST_VAAPI_IS_DECODER(decoder), NULL); - return gst_video_codec_state_ref(decoder->priv->codec_state); + return GST_VAAPI_DECODER_CODEC_STATE(decoder); } /** |