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.
This commit is contained in:
Gwenole Beauchesne 2013-04-15 14:22:57 +02:00
parent 1790823ed4
commit 8cce65c6f1

View file

@ -623,7 +623,7 @@ gst_vaapi_decoder_get_codec_state(GstVaapiDecoder *decoder)
{ {
g_return_val_if_fail(GST_VAAPI_IS_DECODER(decoder), NULL); 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);
} }
/** /**