mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
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:
parent
1790823ed4
commit
8cce65c6f1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue