Cosmetics (spelling).
authorgb <gb@5584edef-b1fe-4b99-b61b-dd2bab72e969>
Mon, 3 May 2010 08:33:23 +0000 (08:33 +0000)
committerGwenole Beauchesne <gbeauchesne@splitted-desktop.com>
Mon, 20 Sep 2010 10:55:42 +0000 (12:55 +0200)
gst-libs/gst/vaapi/gstvaapidecoder_ffmpeg.c

index cbb9845..2e12032 100644 (file)
@@ -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;
 }
 
 /**