mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
Cosmetics (spelling).
This commit is contained in:
parent
ecff33db03
commit
26790878a1
1 changed files with 5 additions and 5 deletions
|
@ -60,7 +60,7 @@ struct _GstVaapiDecoderFfmpegPrivate {
|
|||
AVCodecContext *avctx;
|
||||
GstVaapiContextFfmpeg *vactx;
|
||||
guint is_constructed : 1;
|
||||
guint is_open : 1;
|
||||
guint is_opened : 1;
|
||||
};
|
||||
|
||||
/** Converts codec to FFmpeg codec id */
|
||||
|
@ -466,9 +466,9 @@ gst_vaapi_decoder_ffmpeg_decode(GstVaapiDecoder *decoder, GstBuffer *buffer)
|
|||
g_return_val_if_fail(priv->is_constructed,
|
||||
GST_VAAPI_DECODER_STATUS_ERROR_INIT_FAILED);
|
||||
|
||||
if (!priv->is_open) {
|
||||
priv->is_open = gst_vaapi_decoder_ffmpeg_open(ffdecoder, buffer);
|
||||
if (!priv->is_open)
|
||||
if (!priv->is_opened) {
|
||||
priv->is_opened = gst_vaapi_decoder_ffmpeg_open(ffdecoder, buffer);
|
||||
if (!priv->is_opened)
|
||||
return GST_VAAPI_DECODER_STATUS_ERROR_UNSUPPORTED_CODEC;
|
||||
}
|
||||
|
||||
|
@ -574,7 +574,7 @@ gst_vaapi_decoder_ffmpeg_init(GstVaapiDecoderFfmpeg *decoder)
|
|||
priv->avctx = NULL;
|
||||
priv->vactx = NULL;
|
||||
priv->is_constructed = FALSE;
|
||||
priv->is_open = FALSE;
|
||||
priv->is_opened = FALSE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue